search for: getxmldesc

Displaying 5 results from an estimated 5 matches for "getxmldesc".

Did you mean: get_xml_desc
2009 Jul 15
1
[PATCH] Rename qmf-libvirt-example to libvirt-list.rb
...; + for (key, val) in node.properties + puts " property: #{key}, #{val}" + end + + # Find any domains that on the current node. + domains = s.objects(:class => "domain", 'node' => node.object_id) + domains.each do |domain| + r = domain.getXMLDesc() + puts "getXMLDesc() status: #{r.status}" + puts "getXMLDesc() status: #{r.text}" + if r.status == 0 + puts "xml length: #{r.description.length}" + end + + puts " domain: #{domain.name}, state: #{domain.state}, id:...
2012 Jul 19
1
Questions related to the snapshot
...out this, Did I do something wrong or it's a limitation. So far, I am using the qemu-img command to check the snapshot and do the revert without restarting my laptop. Because the snapshots are already embedded in the img file. Second issue, I find if I create the XML file of snapshot by using getXMLDesc and output to a new file in python, there is a slightly different. But, the new XML file can't be recognized even if I restart my laptop. The new XML file miss the attribute <active> as far as I can see, is it so important? Here is one example: The original XML in the default folder: &lt...
2009 Nov 13
1
[PATCH server] Replace the occurence of the type @qmfc.object(Qmf::Query.new(:class => "xxx", 'key' => search_key)) for @qmfc.object(Qmf::Query.new(:class => "xxx"), 'key' => search_key) else the search on the key is not functionnal.
...on the current node. - domains = qmfc.objects(Qmf::Query.new(:class => "domain", 'node' => node.object_id)) + domains = qmfc.objects(Qmf::Query.new(:class => "domain"), 'node' => node.object_id) domains.each do |domain| r = domain.getXMLDesc() puts "getXMLDesc() status: #{r.status}" @@ -48,7 +48,7 @@ nodes.each do |node| end end - pools = qmfc.objects(Qmf::Query.new(:class => "pool", 'node' => node.object_id)) + pools = qmfc.objects(Qmf::Query.new(:class => "pool&...
2009 Nov 04
4
[PATCH server] Update daemons to use new QMF.
...nd any domains that on the current node. - domains = s.objects(:class => "domain", 'node' => node.object_id) + domains = qmfc.objects(Qmf::Query.new(:class => "domain", 'node' => node.object_id)) domains.each do |domain| r = domain.getXMLDesc() puts "getXMLDesc() status: #{r.status}" @@ -39,7 +48,7 @@ nodes.each do |node| end end - pools = s.objects(:class => "pool", 'node' => node.object_id) + pools = qmfc.objects(Qmf::Query.new(:class => "pool", 'node...
2011 Jun 06
0
Release of libvirt-0.9.2
...h: flexibility in CA cert and user cert/key (Doug Goldstein) - remote generator: Make parsing stricter (Matthias Bolte) - remote generator: Unify unsigned int notation in .x files (Matthias Bolte) - remote generator: Fix comment ignoring regex (Matthias Bolte) - Rename internal DumpXML functions to GetXMLDesc (Matthias Bolte) - qemu,inject-nmi: Implement the driver methods (Lai Jiangshan) - inject-nmi: Expose the new API in virsh (Lai Jiangshan) - inject-nmi: Implementing the remote protocol (Lai Jiangshan) - inject-nmi: Implementing the public API (Lai Jiangshan) - inject-nmi: Defining the internal API...