diff options
-rw-r--r-- | target/i386/whpx-all.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/i386/whpx-all.c b/target/i386/whpx-all.c index 2080d58..63e6e1b 100644 --- a/target/i386/whpx-all.c +++ b/target/i386/whpx-all.c @@ -1278,9 +1278,9 @@ static int whpx_accel_init(MachineState *ms) } memset(&prop, 0, sizeof(WHV_PARTITION_PROPERTY)); - prop.PropertyCode = WHvPartitionPropertyCodeProcessorCount; prop.ProcessorCount = smp_cpus; hr = WHvSetPartitionProperty(whpx->partition, + WHvPartitionPropertyCodeProcessorCount, &prop, sizeof(WHV_PARTITION_PROPERTY)); |