s390x/tcg: Implement VECTOR STORE MULTIPLE
[qemu/ar7.git] / include / chardev / spice.h
blob6431da320599a354ee1d9e5c1edb90540264d8e9
1 #ifndef CHARDEV_SPICE_H_
2 #define CHARDEV_SPICE_H_
4 #include <spice.h>
5 #include "chardev/char-fe.h"
7 typedef struct SpiceChardev {
8 Chardev parent;
10 SpiceCharDeviceInstance sin;
11 bool active;
12 bool blocked;
13 const uint8_t *datapos;
14 int datalen;
15 QLIST_ENTRY(SpiceChardev) next;
16 } SpiceChardev;
18 #define TYPE_CHARDEV_SPICE "chardev-spice"
19 #define TYPE_CHARDEV_SPICEVMC "chardev-spicevmc"
20 #define TYPE_CHARDEV_SPICEPORT "chardev-spiceport"
22 #define SPICE_CHARDEV(obj) OBJECT_CHECK(SpiceChardev, (obj), TYPE_CHARDEV_SPICE)
24 void qemu_chr_open_spice_port(Chardev *chr, ChardevBackend *backend,
25 bool *be_opened, Error **errp);
27 #endif