virtio.h (3baa3c9d62bb35904cf6dadbf152922d87f06e8f) | virtio.h (9379ea9db3c0064fa2787db0794a23a30f7b2d2d) |
---|---|
1/* 2 * Virtio Support 3 * 4 * Copyright IBM, Corp. 2007 5 * 6 * Authors: 7 * Anthony Liguori <aliguori@us.ibm.com> 8 * --- 196 unchanged lines hidden (view full) --- 205 /* Mask/unmask events from this vq. Any events reported 206 * while masked will become pending. 207 * If backend does not support masking, 208 * must mask in frontend instead. 209 */ 210 void (*guest_notifier_mask)(VirtIODevice *vdev, int n, bool mask); 211 int (*start_ioeventfd)(VirtIODevice *vdev); 212 void (*stop_ioeventfd)(VirtIODevice *vdev); | 1/* 2 * Virtio Support 3 * 4 * Copyright IBM, Corp. 2007 5 * 6 * Authors: 7 * Anthony Liguori <aliguori@us.ibm.com> 8 * --- 196 unchanged lines hidden (view full) --- 205 /* Mask/unmask events from this vq. Any events reported 206 * while masked will become pending. 207 * If backend does not support masking, 208 * must mask in frontend instead. 209 */ 210 void (*guest_notifier_mask)(VirtIODevice *vdev, int n, bool mask); 211 int (*start_ioeventfd)(VirtIODevice *vdev); 212 void (*stop_ioeventfd)(VirtIODevice *vdev); |
213 /* Called before loading queues. Useful to add queues before loading. */ 214 int (*pre_load_queues)(VirtIODevice *vdev); |
|
213 /* Saving and loading of a device; trying to deprecate save/load 214 * use vmsd for new devices. 215 */ 216 void (*save)(VirtIODevice *vdev, QEMUFile *f); 217 int (*load)(VirtIODevice *vdev, QEMUFile *f, int version_id); 218 /* Post load hook in vmsd is called early while device is processed, and 219 * when VirtIODevice isn't fully initialized. Devices should use this instead, 220 * unless they specifically want to verify the migration stream as it's --- 318 unchanged lines hidden --- | 215 /* Saving and loading of a device; trying to deprecate save/load 216 * use vmsd for new devices. 217 */ 218 void (*save)(VirtIODevice *vdev, QEMUFile *f); 219 int (*load)(VirtIODevice *vdev, QEMUFile *f, int version_id); 220 /* Post load hook in vmsd is called early while device is processed, and 221 * when VirtIODevice isn't fully initialized. Devices should use this instead, 222 * unless they specifically want to verify the migration stream as it's --- 318 unchanged lines hidden --- |