Does Xen dom0 count as a VM?

Daniel P. Berrangé berrange at redhat.com
Wed Jul 19 15:50:08 UTC 2023


On Wed, Jul 19, 2023 at 10:12:07AM +0000, Sergio Gelato wrote:
> Does this project share the view expressed in
> https://github.com/systemd/systemd/issues/28113#issuecomment-1621986461
> that "when it comes to systemd's PoV xen dom0 is not a VM. i.e. the VM
> that owns the hardware is not a VM in our eyes"?

That is correct. Domain 0 in a Xen-like hypervisor is special, it
is the equivalent of the Lnux host OS in KVM world and clearly
should not be considered a VM.

> If so, virt-what has a similar bug to the above-mentioned systemd issue.

There is a code comment in one probing scenario that it cannot
distinguish domu/dom0.

With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|


More information about the virt-tools-list mailing list