[virt-tools-list] [virt-manager PATCH 1/2] Disable domain events with XEN

Giuseppe Scrivano gscrivan at redhat.com
Wed Feb 25 20:52:27 UTC 2015


"Daniel P. Berrange" <berrange at redhat.com> writes:

> On Wed, Feb 25, 2015 at 04:34:19PM +0100, Giuseppe Scrivano wrote:
>> When XEN is used, disable domain events and use polling.
>> 
>> On RHEL-5.9 virDomainInfo() seems to not report correctly the domain
>> status when called immediately after the event is received.
>> 
>> Solves: https://bugzilla.redhat.com/show_bug.cgi?id=1177207
>
> I'm not convinced there's a bug in libvirt here.
>
> VIR_DOMAIN_NOSTATE has always been considered to be a synonym
> for VIR_DOMAIN_RUNNING - the Xen hypervisor often shows 'nostate'
> when guests are running. So isn't the bug simply to make virt-manager
> treat them as equivalent rather than disabling events like this.

thanks, in fact it doesn't seem to be the issue.  Only the debugging
message prints it as VIR_DOMAIN_NOSTATE, while the rest of the code
considers it as VIR_DOMAIN_RUNNING.  Something else is going on, as
calling virDomainInfo twice, "fix" the problem, and that is why
re-enabling polling fix the issue.  I will look more into it.

Regards,
Giuseppe




More information about the virt-tools-list mailing list