[systemd-devel] [PATCH 1/2] detect-virt: detect in best-heuristic order

Lennart Poettering lennart at poettering.net
Wed Nov 4 05:52:44 PST 2015


On Wed, 04.11.15 15:54, Andrei Borzenkov (arvidjaar at gmail.com) wrote:

> 04.11.2015 00:04, Andrew Jones пишет:
> >afaict, this will fix a regression caused by commit 75f86906c5.
> >Where we used to report "kvm" before that patch, without this patch,
> >we would only report "qemu".
> 
> Are you sure it is regression? QEMU is a program (platform) while KVM is
> technology. Modern VirtualBox can use KVM as PV interface but it still
> remains VirtualBox. QEMU may use KVM as PV interface but it still remains
> QEMU.
> 
> Where does it matter? Is anything broken because of this change?

I am pretty sure that vbox should be reported as vbox even if it uses
kvm as backend. qemu-kvm should be reported as kvm, and any other qemu
as qemu.

Yeah, it's not fully symmetric, but I am pretty sure that's what most
people would expect.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list