[libvirt-users] Can a VM tell what host it's on?

Whit Blauvelt whit.virt at transpect.com
Thu Feb 2 18:33:58 UTC 2012


Is there a way internal to a KVM VM to know which host it's running on? 

It could send a command via ssh to virsh on a host, and learn from that
whether the host currently has it running. But is there something within the
VM itself which will reveal this? 

Thanks,
Whit




More information about the libvirt-users mailing list