mirror of
https://github.com/qemu/qemu.git
synced 2024-12-02 00:03:35 +08:00
i386/kvm: fix FEATURE_HYPERV_EDX value in hyperv_passthrough case
Fix typo to use correct edx value for FEATURE_HYPERV_EDX when
hyperv_passthrough is enabled.
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Message-Id: <20190820103030.12515-1-zhenyuw@linux.intel.com>
Fixes: e48ddcc6ce
("i386/kvm: implement 'hv-passthrough' mode")
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
parent
217baac12d
commit
1a7655d53d
@ -1214,7 +1214,7 @@ static int hyperv_handle_properties(CPUState *cs,
|
||||
if (c) {
|
||||
env->features[FEAT_HYPERV_EAX] = c->eax;
|
||||
env->features[FEAT_HYPERV_EBX] = c->ebx;
|
||||
env->features[FEAT_HYPERV_EDX] = c->eax;
|
||||
env->features[FEAT_HYPERV_EDX] = c->edx;
|
||||
}
|
||||
c = cpuid_find_entry(cpuid, HV_CPUID_ENLIGHTMENT_INFO, 0);
|
||||
if (c) {
|
||||
|
Loading…
Reference in New Issue
Block a user