mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
add virtio-console support (Christian Ehrhardt)
This patch adds the virtio console to qemu. This console can be found after the serial and parallel outputs as another virtual console. In the -nographic case it is redirected to the null output by default. Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6315 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
c76ee25de4
commit
9ede2fde19
3 changed files with 33 additions and 1 deletions
6
sysemu.h
6
sysemu.h
|
@ -158,6 +158,12 @@ extern CharDriverState *serial_hds[MAX_SERIAL_PORTS];
|
|||
|
||||
extern CharDriverState *parallel_hds[MAX_PARALLEL_PORTS];
|
||||
|
||||
/* virtio consoles */
|
||||
|
||||
#define MAX_VIRTIO_CONSOLES 1
|
||||
|
||||
extern CharDriverState *virtcon_hds[MAX_VIRTIO_CONSOLES];
|
||||
|
||||
#define TFR(expr) do { if ((expr) != -1) break; } while (errno == EINTR)
|
||||
|
||||
#ifdef NEED_CPU_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue