Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] debugging qemu w/libvirt
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
zje
n00b
n00b


Joined: 06 Sep 2012
Posts: 33

PostPosted: Mon Mar 30, 2015 2:12 am    Post subject: [SOLVED] debugging qemu w/libvirt Reply with quote

I'm trying to enable debugging access to VMs through libvirt, but I can't seem to get it working on gentoo

Code:

<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
<qemu:commandline>
  <qemu:arg value='-s'/>
</qemu:commandline>


Code:

error: XML document failed to validate against schema: Unable to validate doc against /usr/share/libvirt/schemas/domain.rng
Expecting an element name, got nothing
Invalid sequence in interleave
Element domain failed to validate content


Here are my USE flags for libvirt:
Code:

-audit
-avahi
+caps
-firewalld
-fuse
-iscsi
+libvirtd
-lvm
-lxc
+macvtap
-nfs
+nls
-numa
-openvz
-parted
-pcap
-phyp
-policykit
+qemu
-rbd
-sasl
-systemd
+udev
-uml
+vepa
+virt-network
-virtualbox
-wireshark-plugins
-xen


Anyone know what I may be missing?
Thanks so much!
Back to top
View user's profile Send private message
zje
n00b
n00b


Joined: 06 Sep 2012
Posts: 33

PostPosted: Mon Mar 30, 2015 5:20 pm    Post subject: Reply with quote

turns out that order is important. The
Code:

<qemu:commandline>
  <qemu:arg value='-s'/>
</qemu:commandline>


needed to be at the end of the xml file right before </domain>, not the beginning.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum