yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone
958e1b
From ca933e260fc4d595e1cdeae545953873d68823d1 Mon Sep 17 00:00:00 2001
958e1b
From: Amit Shah <amit.shah@redhat.com>
958e1b
Date: Fri, 11 Jul 2014 10:09:09 -0500
958e1b
Subject: [CHANGE 13/29] tests: vmstate static checker: remove Fields
958e1b
To: rhvirt-patches@redhat.com,
958e1b
    jen@redhat.com
958e1b
958e1b
RH-Author: Amit Shah <amit.shah@redhat.com>
958e1b
Message-id: <69b371009d0ee46ec02502595e5bc4d273cc1b5c.1405072585.git.amit.shah@redhat.com>
958e1b
Patchwork-id: 59793
958e1b
O-Subject: [RHEL7.1 qemu-kvm PATCH 12/18] tests: vmstate static checker: remove Fields
958e1b
Bugzilla: 1118707
958e1b
RH-Acked-by: Juan Quintela <quintela@redhat.com>
958e1b
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
958e1b
RH-Acked-by: Dr. David Alan Gilbert (git) <dgilbert@redhat.com>
958e1b
958e1b
Signed-off-by: Amit Shah <amit.shah@redhat.com>
958e1b
Reviewed-by: Juan Quintela <quintela@redhat.com>
958e1b
Signed-off-by: Juan Quintela <quintela@redhat.com>
958e1b
(cherry picked from commit 083bac3484e335130235ca0369e840a9ee766c4f)
958e1b
Signed-off-by: Amit Shah <amit.shah@redhat.com>
958e1b
Signed-off-by: jen <jen@redhat.com>
958e1b
---
958e1b
 tests/vmstate-static-checker-data/dump2.json | 114 +--------------------------
958e1b
 1 file changed, 1 insertion(+), 113 deletions(-)
958e1b
958e1b
diff --git a/tests/vmstate-static-checker-data/dump2.json b/tests/vmstate-static-checker-data/dump2.json
958e1b
index f69966d..cc0aae3 100644
958e1b
--- a/tests/vmstate-static-checker-data/dump2.json
958e1b
+++ b/tests/vmstate-static-checker-data/dump2.json
958e1b
@@ -196,119 +196,7 @@
958e1b
     "Description": {
958e1b
       "name": "pci-serial-multi",
958e1b
       "version_id": 1,
958e1b
-      "minimum_version_id": 1,
958e1b
-      "Fields": [
958e1b
-        {
958e1b
-          "field": "dev",
958e1b
-          "version_id": 0,
958e1b
-          "field_exists": false,
958e1b
-          "size": 1944,
958e1b
-          "Description": {
958e1b
-            "name": "PCIDevice",
958e1b
-            "version_id": 2,
958e1b
-            "minimum_version_id": 1,
958e1b
-            "Fields": [
958e1b
-              {
958e1b
-                "field": "version_id",
958e1b
-                "version_id": 0,
958e1b
-                "field_exists": false,
958e1b
-                "size": 4
958e1b
-              },
958e1b
-              {
958e1b
-                "field": "config",
958e1b
-                "version_id": 0,
958e1b
-                "field_exists": false,
958e1b
-                "size": 256
958e1b
-              },
958e1b
-              {
958e1b
-                "field": "irq_state",
958e1b
-                "version_id": 2,
958e1b
-                "field_exists": false,
958e1b
-                "size": 16
958e1b
-              }
958e1b
-            ]
958e1b
-          }
958e1b
-        },
958e1b
-        {
958e1b
-          "field": "state",
958e1b
-          "version_id": 0,
958e1b
-          "field_exists": false,
958e1b
-          "size": 368,
958e1b
-          "Description": {
958e1b
-            "name": "serial",
958e1b
-            "version_id": 3,
958e1b
-            "minimum_version_id": 2,
958e1b
-            "Fields": [
958e1b
-              {
958e1b
-                "field": "divider",
958e1b
-                "version_id": 2,
958e1b
-                "field_exists": false,
958e1b
-                "size": 2
958e1b
-              },
958e1b
-              {
958e1b
-                "field": "rbr",
958e1b
-                "version_id": 0,
958e1b
-                "field_exists": false,
958e1b
-                "size": 1
958e1b
-              },
958e1b
-              {
958e1b
-                "field": "ier",
958e1b
-                "version_id": 0,
958e1b
-                "field_exists": false,
958e1b
-                "size": 1
958e1b
-              },
958e1b
-              {
958e1b
-                "field": "iir",
958e1b
-                "version_id": 0,
958e1b
-                "field_exists": false,
958e1b
-                "size": 1
958e1b
-              },
958e1b
-              {
958e1b
-                "field": "lcr",
958e1b
-                "version_id": 0,
958e1b
-                "field_exists": false,
958e1b
-                "size": 1
958e1b
-              },
958e1b
-              {
958e1b
-                "field": "mcr",
958e1b
-                "version_id": 0,
958e1b
-                "field_exists": false,
958e1b
-                "size": 1
958e1b
-              },
958e1b
-              {
958e1b
-                "field": "lsr",
958e1b
-                "version_id": 0,
958e1b
-                "field_exists": false,
958e1b
-                "size": 1
958e1b
-              },
958e1b
-              {
958e1b
-                "field": "msr",
958e1b
-                "version_id": 0,
958e1b
-                "field_exists": false,
958e1b
-                "size": 1
958e1b
-              },
958e1b
-              {
958e1b
-                "field": "scr",
958e1b
-                "version_id": 0,
958e1b
-                "field_exists": false,
958e1b
-                "size": 1
958e1b
-              },
958e1b
-              {
958e1b
-                "field": "fcr_vmstate",
958e1b
-                "version_id": 3,
958e1b
-                "field_exists": false,
958e1b
-                "size": 1
958e1b
-              }
958e1b
-            ]
958e1b
-          }
958e1b
-        },
958e1b
-        {
958e1b
-          "field": "level",
958e1b
-          "version_id": 0,
958e1b
-          "field_exists": false,
958e1b
-          "size": 4
958e1b
-        }
958e1b
-      ]
958e1b
+      "minimum_version_id": 1
958e1b
     }
958e1b
   },
958e1b
   "intel-hda-generic": {
958e1b
-- 
958e1b
1.9.3
958e1b