]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: convert monitor to use qemuDomainLogContextPtr indirectly
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 12 Nov 2015 13:54:04 +0000 (13:54 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 26 Nov 2015 14:30:15 +0000 (14:30 +0000)
commita48539c0139747c07ddb31600d0a3a803f2278be
tree80668b2af8c2e832db18b20353e44db23ba20c66
parentb8c52c00e90b263835350ad79531c5a390482896
qemu: convert monitor to use qemuDomainLogContextPtr indirectly

Currently the QEMU monitor is given an FD to the logfile. This
won't work in the future with virtlogd, so it needs to use the
qemuDomainLogContextPtr instead, but it shouldn't directly
access that object either. So define a callback that the
monitor can use for reporting errors from the log file.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_migration.c
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_process.c
src/qemu/qemu_process.h