qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 27/27] vmstate: s/VMSTATE_INT32_LE/VMSTATE_INT32_POS


From: Juan Quintela
Subject: [Qemu-devel] [PATCH 27/27] vmstate: s/VMSTATE_INT32_LE/VMSTATE_INT32_POSITIVE_LE/
Date: Mon, 16 Jun 2014 11:58:23 +0200

From: "Michael S. Tsirkin" <address@hidden>

As the macro verifies the value is positive, rename it
to make the function clearer.

Signed-off-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>
---
 tests/test-vmstate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test-vmstate.c b/tests/test-vmstate.c
index f2f59c9..8b735c3 100644
--- a/tests/test-vmstate.c
+++ b/tests/test-vmstate.c
@@ -375,7 +375,7 @@ static const VMStateDescription vmstate_simple_compare = {
         VMSTATE_UINT32_EQUAL(u32_1, TestSimple),
         VMSTATE_UINT64_EQUAL(u64_1, TestSimple),
         VMSTATE_INT32_EQUAL(i32_2, TestSimple),
-        VMSTATE_INT32_LE(i32_1, TestSimple),
+        VMSTATE_INT32_POSITIVE_LE(i32_1, TestSimple),
         VMSTATE_END_OF_LIST()
     }
 };
-- 
1.9.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]