Loosen up the condition so we make sure that the current vcpu belongs to the
same domain.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
{
unsigned int level;
- ASSERT(v == current);
+ ASSERT(v->domain == current->domain);
hvm_cpuid(0x80000000, &level, NULL, NULL, NULL);
if ( level >= 0x80000001 )
{
{
unsigned int level;
- ASSERT(v == current);
+ ASSERT(v->domain == current->domain);
hvm_cpuid(0, &level, NULL, NULL, NULL);
if ( level >= 1 )
hvm_cpuid(1, NULL, NULL, &leaf1_ecx, &leaf1_edx);