View previous topic :: View next topic |
Author |
Message |
zje n00b
Joined: 06 Sep 2012 Posts: 33
|
Posted: Mon Mar 30, 2015 2:12 am Post subject: [SOLVED] debugging qemu w/libvirt |
|
|
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 |
|
|
zje n00b
Joined: 06 Sep 2012 Posts: 33
|
Posted: Mon Mar 30, 2015 5:20 pm Post subject: |
|
|
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 |
|
|
|