WHPX fix WHvSetPartitionProperty in PropertyCode
commit60168541dab015f71b1a2f5e70df3c0fe44d91c4
authorJustin Terry (VM) <juterry@microsoft.com>
Wed, 14 Mar 2018 14:52:42 +0000 (14 07:52 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 26 Mar 2018 12:37:12 +0000 (26 14:37 +0200)
tree8e0c7c3926c841dffe8d3954bbe5815d588670e8
parent3907e6318eae2668712bba04edc10e3648292508
WHPX fix WHvSetPartitionProperty in PropertyCode

This fixes a breaking change to WHvSetPartitionProperty to pass the 'in'
PropertyCode on function invocation introduced in Windows Insider SDK 17110.
Usage of this indicates the PropertyCode of the opaque PropertyBuffer passed in
on function invocation.

Also fixes the removal of the PropertyCode parameter from the
WHV_PARTITION_PROPERTY struct as it is now passed to the function directly.

Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
Message-Id: <1521039163-138-3-git-send-email-juterry@microsoft.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/whpx-all.c