Re: [PATCH] cpu: x86: Check for invalid CPU data from hypervisor

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

 



On Mon, Mar 04, 2024 at 18:34:13 +0100, Jiri Denemark wrote:
> Recently a kernel bug caused QEMU to report a CPU feature as enabled
> while listing it in the "unavailable-features" list of features that
> were requested, but could not be enabled. The feature was actually
> enabled, but we marked it as disabled when starting a domain. Later when
> the domain is migrated, the destination requests the feature to be
> disabled, which breaks the guest ABI or if we are lucky QEMU just fails
> to load the migration stream.
> 
> Let's make similar bugs more visible in the future by refusing to even
> start the domain.
> 
> Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx>
> ---
>  src/cpu/cpu_x86.c | 8 ++++++++
>  1 file changed, 8 insertions(+)

Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>
_______________________________________________
Devel mailing list -- devel@xxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxx




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux