qemu-devel
[Top][All Lists]
Advanced

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

SEV: why cbitpos is needed instead of just get it by cpuid?


From: Wu Zongyong
Subject: SEV: why cbitpos is needed instead of just get it by cpuid?
Date: Tue, 28 Feb 2023 17:54:20 +0800
User-agent: Mutt/1.9.4 (2018-02-28)

Hi,

The @option{cbitpos} is defined with sev-guest object in qemu. And I'm
wondering why this option is needed since we can get the C-bit position
by cpuid.
Besides, the only usecase I found in source code is to check if the
value provided by user is consistent with the return value of cpuid in
function sev_guest_init().
Maybe we can delete this option?

Thanks




reply via email to

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