[libvirt] [RFC] kvm: x86: export vCPU halted state to sysfs

Eduardo Habkost ehabkost at redhat.com
Mon Feb 5 22:50:20 UTC 2018


On Mon, Feb 05, 2018 at 10:37:01AM -0500, Luiz Capitulino wrote:
[...]
> However, IMHO, what we really want is to add an API to the guest agent
> to export the CPU online bit from the guest userspace sysfs. This will
> give the ultimate semantics and move us away from this halted mess.

Can't this be detected on the host side without guest agent?  Why
do we need the guest to tell us what's the state of the virtual
hardware we're emulating?

-- 
Eduardo




More information about the libvir-list mailing list