summaryrefslogtreecommitdiff
path: root/block/curl.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2013-02-13 15:54:16 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2013-02-13 11:57:32 -0600
commitd36b2b904ee921b380fad559cb824a40eb587bcb (patch)
tree505d25ee160bfcfedf695d4f581bd0d2fc060253 /block/curl.c
parentd037d6bbbcdda6552254286b6da090ef0dc0d98a (diff)
downloadqemu-d36b2b904ee921b380fad559cb824a40eb587bcb.tar.gz
qapi: Flatten away ChardevPort
Simplifies the schema and the code. QMP command { "execute" : "chardev-add", "arguments" : { "id" : "ser0", "backend" : { "type" : "port", "data" : { "type": "serial", "device":"/dev/ttyS0"} } } } becomes { "execute" : "chardev-add", "arguments" : { "id" : "ser0", "backend" : { "type" : "serial", "data" : { "device":"/dev/ttyS0"} } } } Bonus: nicer error messages. "unknown chardev port (1)" becomes "character device backend type 'parallel' not supported". Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Message-id: 1360767256-610-3-git-send-email-armbru@redhat.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'block/curl.c')
0 files changed, 0 insertions, 0 deletions