On Tue, Jun 08, 2021 at 02:08:17PM +0200, Vitaly Kuznetsov wrote:
> For the beginning, just test 'hv-passthrough' and a couple of custom
> Hyper-V  enlightenments configurations through QMP. Later, it would
> be great to complement this by checking CPUID values from within the
> guest.
> 
> Signed-off-by: Vitaly Kuznetsov <[email protected]>
[...]
> +static bool kvm_has_sys_hyperv_cpuid(void)
> +{
> +    int fd = open("/dev/kvm", O_RDWR);
> +    int ret;
> +
> +    g_assert(fd > 0);

This crashes when /dev/kvm doesn't exist.  See:
https://gitlab.com/ehabkost/qemu/-/jobs/1404084459

I'm removing it from the queue.

-- 
Eduardo


Reply via email to