Revision d8aeeb31 qmp-commands.hx
b/qmp-commands.hx | ||
---|---|---|
1039 | 1039 |
|
1040 | 1040 |
- "device": device name (json-string) |
1041 | 1041 |
- "type": device type (json-string) |
1042 |
- Possible values: "hd", "cdrom", "floppy", "unknown" |
|
1042 |
- deprecated, retained for backward compatibility |
|
1043 |
- Possible values: "unknown" |
|
1043 | 1044 |
- "removable": true if the device is removable, false otherwise (json-bool) |
1044 | 1045 |
- "locked": true if the device is locked, false otherwise (json-bool) |
1045 | 1046 |
- "inserted": only present if the device is inserted, it is a json-object |
... | ... | |
1070 | 1071 |
"encrypted":false, |
1071 | 1072 |
"file":"disks/test.img" |
1072 | 1073 |
}, |
1073 |
"type":"hd"
|
|
1074 |
"type":"unknown"
|
|
1074 | 1075 |
}, |
1075 | 1076 |
{ |
1076 | 1077 |
"device":"ide1-cd0", |
1077 | 1078 |
"locked":false, |
1078 | 1079 |
"removable":true, |
1079 |
"type":"cdrom"
|
|
1080 |
"type":"unknown"
|
|
1080 | 1081 |
}, |
1081 | 1082 |
{ |
1082 | 1083 |
"device":"floppy0", |
1083 | 1084 |
"locked":false, |
1084 | 1085 |
"removable":true, |
1085 |
"type": "floppy"
|
|
1086 |
"type":"unknown"
|
|
1086 | 1087 |
}, |
1087 | 1088 |
{ |
1088 | 1089 |
"device":"sd0", |
1089 | 1090 |
"locked":false, |
1090 | 1091 |
"removable":true, |
1091 |
"type":"floppy"
|
|
1092 |
"type":"unknown"
|
|
1092 | 1093 |
} |
1093 | 1094 |
] |
1094 | 1095 |
} |
Also available in: Unified diff