diff options
author | Markus Armbruster <armbru@redhat.com> | 2011-05-25 14:21:11 +0200 |
---|---|---|
committer | Amit Shah <amit.shah@redhat.com> | 2011-05-27 15:50:56 +0530 |
commit | 2a3d57ce4278dfd898d8b5639ace21fa4a4fb9bd (patch) | |
tree | 0e3871d8821936e28b246af06477910dea74be25 /targphys.h | |
parent | 5e52e5f903b2648c59030637e1610b32e965d615 (diff) |
virtio-serial: Clean up virtconsole detection
virtio-serial-bus needs to treat "virtconsole" devices specially. It
uses VirtIOSerialPort member is_console to recognize them. It gets
its value via property initialization. Cute hack, except it lets
users mess with it: "-device virtconsole,is_console=0" isn't plugged
into port 0 as it should.
Move the flag to VirtIOSerialPortInfo. Keep the property for backward
compatibility; its value has no effect.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'targphys.h')
0 files changed, 0 insertions, 0 deletions