Displaying 5 results from an estimated 5 matches for "nadathur".
2015 Nov 16
0
Re: libvirt prepare and start hooks not callled
Hi.
On Fri, Nov 13, 2015 at 20:44:15 +0000, Sundar Nadathur wrote:
> 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.
You are not supposed to talk to libvirtd from any hooks.
> I placed a python...
2015 Nov 16
0
Re: 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 invoked for prepare/start calls, not that it
> is invoking libvirt APIs or is hanging. When it is invoked for
> 'started', it runs to completion.
Strange. Do you see corresponding "Calling hook" messages in libvi...
2015 Nov 20
0
Re: libvirt prepare and start hooks not callled
On Thu, Nov 19, 2015 at 21:32:05 +0000, Sundar Nadathur wrote:
> Hello,
> Is there a reason why the prepare and start hooks cannot modify the
> domain xml?
Because they were not designed that way. It's already too late to change
the domain definition in any of the hooks.
> One would think it is a common use case to inject a de...
2015 Dec 01
0
Re: Why does libvirt insert USB controller automagically?
On 11/30/2015 07:30 PM, Sundar Nadathur wrote:
> 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 af...
2015 Dec 01
1
Why does libvirt insert USB controller automagically?
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 libvirt add a USB controller?
DETAILS:
Here is a little Python snippet to show that behavior: