Public bug reported: I create a windows xp guest with virt-manager. For some reseason, I want to transfer the smbios information to the guest. So I virsh edit my guest, change the "<domain type='kvm'>" to "<domain type='kvm'xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>" and insert "<qemu:commandline> <qemu:argvalue='-smbios'/> <qemu:argvalue='type=0,vendor=xxxx,version=SLIP,date=06/07/08'/> </qemu:commandline>" betwent the </devices> and </domain>. When I quit the editor, it report an error like the follow: because XML document failed to validate against schema: Unable to validate doc against /usr/share/libvirt/schemas/domain.rng Extra element devices in interleave Element domain failed to validate content The host OS is yakkety, the version of the libvirt0 is 2.1.0-1ubuntu9
** Affects: libvirt (Ubuntu) Importance: Undecided Status: New ** Attachment added: "The guesthost domain file" https://bugs.launchpad.net/bugs/1633336/+attachment/4760751/+files/WinXpPro.xml ** Description changed: - I create a windows xp guesthost with virt-manager. For some reseason, I want to transfer the smbios information to the guesthost. So I virsh edit my guesthost, change the "<domain type='kvm'>" to "<domain type='kvm'xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>" and insert "<qemu:commandline> <qemu:argvalue='-smbios'/> <qemu:argvalue='type=0,vendor=xxxx,version=SLIP,date=06/07/08'/> </qemu:commandline>" betwent the </devices> and </domain>. When I quit the editor, it report an error like the follow: + I create a windows xp guest with virt-manager. For some reseason, I want to transfer the smbios information to the guest. So I virsh edit my guest, change the "<domain type='kvm'>" to "<domain type='kvm'xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>" and insert "<qemu:commandline> <qemu:argvalue='-smbios'/> <qemu:argvalue='type=0,vendor=xxxx,version=SLIP,date=06/07/08'/> </qemu:commandline>" betwent the </devices> and </domain>. When I quit the editor, it report an error like the follow: because XML document failed to validate against schema: Unable to validate doc against /usr/share/libvirt/schemas/domain.rng Extra element devices in interleave Element domain failed to validate content + The host OS is yakkety, the version of the libvirt0 is 2.1.0-1ubuntu9 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1633336 Title: XML document failed to validate against schema To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1633336/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs