Created attachment 572957[details]
guest xml with 232 usb disks
Description of problem:
I try to test multifunction so I create a xml with 232 disks with multifunction, when do define, it report error
# virsh define usb-all.xml
error: Failed to define domain from usb-all.xml
error: Unable to encode message payload
error: Reconnected to the hypervisor
if I remove 3 disks, then define can be succeed, but when do dumpxml, it still report error
# virsh dumpxml usb
error: Unable to encode message payload
error: Reconnected to the hypervisor
Version-Release number of selected component (if applicable):
libvirt-0.9.10-8.el6.x86_64
kernel-2.6.32-250.el6.x86_64
qemu-kvm-0.12.1.2-2.262.el6.x86_64
How reproducible:
100%
Steps to Reproduce:
1. Define a guest with xml in attachment
# virsh define guest.xml
2.
3.
Actual results:
Report error
Expected results:
Should succeed both for define and dumpxml
Additional info:
The XML file is 66375 bytes long, and our maximum RPC string size is 65536 bytes. When dumping the XML file, it will grow as libvirt adds in various default attributes.
Yes. This is definitely a dup of bug 808980 and bug 797279. Therefore I am closing this one.
*** This bug has been marked as a duplicate of bug 808980 ***
Created attachment 572957 [details] guest xml with 232 usb disks Description of problem: I try to test multifunction so I create a xml with 232 disks with multifunction, when do define, it report error # virsh define usb-all.xml error: Failed to define domain from usb-all.xml error: Unable to encode message payload error: Reconnected to the hypervisor if I remove 3 disks, then define can be succeed, but when do dumpxml, it still report error # virsh dumpxml usb error: Unable to encode message payload error: Reconnected to the hypervisor Version-Release number of selected component (if applicable): libvirt-0.9.10-8.el6.x86_64 kernel-2.6.32-250.el6.x86_64 qemu-kvm-0.12.1.2-2.262.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1. Define a guest with xml in attachment # virsh define guest.xml 2. 3. Actual results: Report error Expected results: Should succeed both for define and dumpxml Additional info: