qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] don't expose lm bit if kernel is not 64-bit cap


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH] don't expose lm bit if kernel is not 64-bit capable.
Date: Tue, 03 Feb 2009 15:14:03 -0600
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

Glauber Costa wrote:
It would be better to use KVM_GET_SUPPORTED_CPUID for this (and similar).
 uname() can lie, and in theory kvm can support x86_64 on i386 kernels
(although patches to implement this would be rejected on cost/benefit and
aesthetic concerns).

I sent a patch that implements this last week, but anthony seemed to
be more inclined
towards this approach.

All I said was that if we used KVM_GET_SUPPORTED_CPUID, we had to do something about save/restore since it can mask arbitrary things.

Regards,

Anthony Liguori






reply via email to

[Prev in Thread] Current Thread [Next in Thread]