File:  [Qemu by Fabrice Bellard] / qemu / hw / virtio-console.h
Revision 1.1: download - view: text, annotated - select for diffs
Tue Apr 24 16:53:10 2018 UTC (19 months, 2 weeks ago) by root
CVS tags: MAIN, HEAD
Initial revision

/*
 * 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

unix.superglobalmegacorp.com