virtio-input.c (eec398119fc6911d99412c37af06a6bc27871f85) virtio-input.c (af0f07dfc7ce56a944c38d872b7d4502178e6948)
1/*
2 * This work is licensed under the terms of the GNU GPL, version 2 or
3 * (at your option) any later version. See the COPYING file in the
4 * top-level directory.
5 */
6
7#include "qemu/osdep.h"
8#include "qapi/error.h"

--- 279 unchanged lines hidden (view full) ---

288 virtio_delete_queue(vinput->sts);
289 virtio_cleanup(vdev);
290}
291
292static const VMStateDescription vmstate_virtio_input = {
293 .name = "virtio-input",
294 .minimum_version_id = VIRTIO_INPUT_VM_VERSION,
295 .version_id = VIRTIO_INPUT_VM_VERSION,
1/*
2 * This work is licensed under the terms of the GNU GPL, version 2 or
3 * (at your option) any later version. See the COPYING file in the
4 * top-level directory.
5 */
6
7#include "qemu/osdep.h"
8#include "qapi/error.h"

--- 279 unchanged lines hidden (view full) ---

288 virtio_delete_queue(vinput->sts);
289 virtio_cleanup(vdev);
290}
291
292static const VMStateDescription vmstate_virtio_input = {
293 .name = "virtio-input",
294 .minimum_version_id = VIRTIO_INPUT_VM_VERSION,
295 .version_id = VIRTIO_INPUT_VM_VERSION,
296 .fields = (VMStateField[]) {
296 .fields = (const VMStateField[]) {
297 VMSTATE_VIRTIO_DEVICE,
298 VMSTATE_END_OF_LIST()
299 },
300 .post_load = virtio_input_post_load,
301};
302
303static Property virtio_input_properties[] = {
304 DEFINE_PROP_STRING("serial", VirtIOInput, serial),

--- 38 unchanged lines hidden ---
297 VMSTATE_VIRTIO_DEVICE,
298 VMSTATE_END_OF_LIST()
299 },
300 .post_load = virtio_input_post_load,
301};
302
303static Property virtio_input_properties[] = {
304 DEFINE_PROP_STRING("serial", VirtIOInput, serial),

--- 38 unchanged lines hidden ---