summaryrefslogtreecommitdiffstats
path: root/hw/virtio-console.h
blob: 2de9520ae6396854a46501a7b773f5c7c4d488a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Virtio Console Support
 *
 * Copyright IBM, Corp. 2008
 *
 * Authors:
 *  Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
 *
 * This work is licensed under the terms of the GNU GPL, version 2.  See
 * the COPYING file in the top-level directory.
 *
 */
#ifndef _QEMU_VIRTIO_CONSOLE_H
#define _QEMU_VIRTIO_CONSOLE_H

/* The ID for virtio console */
#define VIRTIO_ID_CONSOLE 3

/* Creates a virtio console */
void *virtio_console_init(PCIBus *bus, CharDriverState *chr);

#endif