virtio-console.h 485 B

12345678910111213141516171819202122
  1. /*
  2. * Virtio Console Support
  3. *
  4. * Copyright IBM, Corp. 2008
  5. *
  6. * Authors:
  7. * Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
  8. *
  9. * This work is licensed under the terms of the GNU GPL, version 2. See
  10. * the COPYING file in the top-level directory.
  11. *
  12. */
  13. #ifndef _QEMU_VIRTIO_CONSOLE_H
  14. #define _QEMU_VIRTIO_CONSOLE_H
  15. /* The ID for virtio console */
  16. #define VIRTIO_ID_CONSOLE 3
  17. /* Creates a virtio console */
  18. void *virtio_console_init(PCIBus *bus, CharDriverState *chr);
  19. #endif