mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
tests: vmstate static checker: add substructure for usb-kbd for hid section
This shows how the script deals with substructures added to vmstate descriptions that don't change the on-wire format. Signed-off-by: Amit Shah <amit.shah@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
This commit is contained in:
parent
c7173a9c18
commit
af3713f6b9
1 changed files with 64 additions and 51 deletions
|
@ -844,7 +844,7 @@
|
|||
"field": "dev",
|
||||
"version_id": 0,
|
||||
"field_exists": false,
|
||||
"size": 4352,
|
||||
"size": 5832,
|
||||
"Description": {
|
||||
"name": "USBDevice",
|
||||
"version_id": 1,
|
||||
|
@ -895,6 +895,16 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"field": "hid",
|
||||
"version_id": 0,
|
||||
"field_exists": false,
|
||||
"size": 312,
|
||||
"Description": {
|
||||
"name": "HIDKeyboardDevice",
|
||||
"version_id": 1,
|
||||
"minimum_version_id": 1,
|
||||
"Fields": [
|
||||
{
|
||||
"field": "kbd.keycodes",
|
||||
"version_id": 0,
|
||||
|
@ -952,4 +962,7 @@
|
|||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue