Patchwork [15/15] kvm: fix FPU state subsection

login
register
mail settings
Submitter Marcelo Tosatti
Date June 21, 2011, 5:08 p.m.
Message ID <ca98557ad2510eaeb6538b4c4d9972818e83b6c2.1308676084.git.mtosatti@redhat.com>
Download mbox | patch
Permalink /patch/101341/
State New
Headers show

Comments

Marcelo Tosatti - June 21, 2011, 5:08 p.m.
There is no need to specify version on the subsection fields.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
---
 target-i386/machine.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

Patch

diff --git a/target-i386/machine.c b/target-i386/machine.c
index d22a731..7662aa2 100644
--- a/target-i386/machine.c
+++ b/target-i386/machine.c
@@ -303,9 +303,9 @@  static const VMStateDescription vmstate_fpop_ip_dp = {
     .minimum_version_id = 1,
     .minimum_version_id_old = 1,
     .fields      = (VMStateField []) {
-        VMSTATE_UINT16_V(fpop, CPUState, 13),
-        VMSTATE_UINT64_V(fpip, CPUState, 13),
-        VMSTATE_UINT64_V(fpdp, CPUState, 13),
+        VMSTATE_UINT16(fpop, CPUState),
+        VMSTATE_UINT64(fpip, CPUState),
+        VMSTATE_UINT64(fpdp, CPUState),
         VMSTATE_END_OF_LIST()
     }
 };