target-i386: reorder fields in cpu/msr_hyperv_hypercall subsection
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 2 Apr 2014 15:33:02 +0000 (17:33 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Sat, 5 Apr 2014 09:49:05 +0000 (10:49 +0100)
The subsection already exists in one well-known enterprise Linux
distribution, but for some strange reason the fields were swapped
when forward-porting the patch to upstream.

Limit headaches for said enterprise Linux distributor when the
time will come to rebase their version of QEMU.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1396452782-21473-1-git-send-email-pbonzini@redhat.com
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-i386/machine.c

index 24bc373b9c4941379429dde33ce48e4617665b56..168cab681b8a4fe13f69acf824c562a8e1872929 100644 (file)
@@ -569,8 +569,8 @@ static const VMStateDescription vmstate_msr_hypercall_hypercall = {
     .minimum_version_id = 1,
     .minimum_version_id_old = 1,
     .fields      = (VMStateField []) {
-        VMSTATE_UINT64(env.msr_hv_hypercall, X86CPU),
         VMSTATE_UINT64(env.msr_hv_guest_os_id, X86CPU),
+        VMSTATE_UINT64(env.msr_hv_hypercall, X86CPU),
         VMSTATE_END_OF_LIST()
     }
 };