1namespace("libxl__") 2hidden(True) 3 4libxl_domid = Builtin("domid", namespace="libxl_", json_gen_fn = "yajl_gen_integer", 5 json_parse_fn = "libxl__uint32_parse_json", json_parse_type = "JSON_INTEGER", 6 autogenerate_json = False, copy_fn = None) 7 8libxl__qmp_message_type = Enumeration("qmp_message_type", [ 9 (1, "QMP"), 10 (2, "return"), 11 (3, "error"), 12 (4, "event"), 13 (5, "invalid"), 14 ]) 15 16libxl__device_kind = Enumeration("device_kind", [ 17 (0, "NONE"), 18 (1, "VIF"), 19 (2, "VBD"), 20 (3, "QDISK"), 21 (4, "PCI"), 22 (5, "VFB"), 23 (6, "VKBD"), 24 (7, "CONSOLE"), 25 (8, "VTPM"), 26 (9, "VUSB"), 27 (10, "QUSB"), 28 (11, "9PFS"), 29 (12, "VDISPL"), 30 (13, "VUART"), 31 ]) 32 33libxl__console_backend = Enumeration("console_backend", [ 34 (1, "XENCONSOLED"), 35 (2, "IOEMU"), 36 ]) 37 38libxl__device_console = Struct("device_console", [ 39 ("backend_domid", libxl_domid), 40 ("devid", integer), 41 ("consback", libxl__console_backend), 42 ("output", string), 43 # A regular console has no name. 44 # A console with a name is called a 'channel', see docs/misc/channels.txt 45 ("name", string), 46 ("connection", string), 47 ("path", string), 48 ]) 49 50libxl__device_action = Enumeration("device_action", [ 51 (1, "ADD"), 52 (2, "REMOVE"), 53 ]) 54