[libvirt-users] Why does libvirt insert USB controller automagically?

2015-11-30 Thread Sundar Nadathur
Hello all, I find this curious behavior that libvirt will automatically insert a USB controller and a memballoon virtio driver into the domain's XML, when defineXML is called. IOW, the original XML did not have these 2 devices but they are present right after defineXML is called. Why should

Re: [libvirt-users] libvirt prepare and start hooks not callled

2015-11-19 Thread Sundar Nadathur
...@redhat.com] Sent: Monday, November 16, 2015 5:17 AM To: Sundar Nadathur Cc: 'libvirt-users@redhat.com' Subject: Re: [libvirt-users] libvirt prepare and start hooks not callled On Mon, Nov 16, 2015 at 12:43:21 +0000, Sundar Nadathur wrote: > Hello Jirka, >The script is not even inv

Re: [libvirt-users] libvirt prepare and start hooks not callled

2015-11-16 Thread Sundar Nadathur
work for prepare or start calls. If there is a better way to update the VM's xml before it is launched, please let me know. Thank you for the response. Regards, Sundar -Original Message- From: Jiri Denemark [mailto:jdene...@redhat.com] Sent: Monday, November 16, 2015 4:27 AM To: Su

[libvirt-users] libvirt prepare and start hooks not callled

2015-11-13 Thread Sundar Nadathur
Hello, I am using RHEL 7.1 and libvirt 1.2.8. My intention is to intercept the prepare and start hooks of libvirt during VM placement to inject a virtio PCI device into the VM's domain xml. I placed a python script with execute permissions in /etc/libvirt/hooks/qemu. In there, I opened a log