The capability itself can return the count; for example
case KVM_CAP_NR_CPUID_LEAVES:
return KVM_MAX_CPUID_ENTRIES;
which is simpler to use and shorter.
Avi,
Yes, it is simpler and shorter, but is returning a constant. It will be
wasting space for the unused entries. Also it put's a
, 2008 5:19 PM
To: Kamble, Nitin A
Cc: Avi Kivity; kvm@vger.kernel.org; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: thread/core siblings info for guests
Hi Nitin,
first of all thanks for taking on that work - it's something that's
direly necessary and I appreciate what you're doing
.
-Original Message-
From: Guillaume Thouvenin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 21, 2008 2:34 AM
To: kvm@vger.kernel.org
Cc: Avi Kivity; Anthony Liguori; Mohammed Gamal; Kamble, Nitin A;
Alexander
Graf; Marcelo Tosatti
Subject: [RFC] Patch - Big real mode emulation
Hello