pv-qemu 8/10: Add pv console to QEMU paravirt machine

This patch adds a paravirt console driver to qemu-dm. This is used
when the QEMU machine type is 'xenpv', connecting to the ring buffer
provided by the guest kernel. The '-serial' command line flag controls
how the guest console is exposed.

For parity with xenconsoled the '-serial pty' arg can be used. For
guests which are running a qemu-dm device model, the xenconsoled
daemon is no longer needed for guest consoles. The code for the
xen_console.c is based on the original code in
tools/console/daemon/io.c, but simplified; since its only dealing with
a single guest there's no state tracking to worry about.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
Keir Fraser committed 2007-10-25 14:42:40 +01:00
1 parent 0830ea747f
commit 36a48e9d87
6 files changed
+471 -5

No files matched your search

+3 -4
View File
@@ -1761,10 +1761,9 @@ class XendDomainInfo:
self.console_mfn = console_mfn
self._introduceDomain()
if self.info.is_hvm():
self.image = image.create(self, self.info)
if self.image:
self.image.createDeviceModel(True)
self.image = image.create(self, self.info)
if self.image:
self.image.createDeviceModel(True)
self._storeDomDetails()
self._registerWatches()
self.refreshShutdown()
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.