- 21 7月, 2009 1 次提交
-
-
由 Jun Koi 提交于
* src/qemu_driver.c: qemudOpenMonitorUnix() had an uninitialized loop counter
-
- 17 7月, 2009 2 次提交
-
-
由 Cole Robinson 提交于
Unlike the pty monitor (which we know exists since we scrape its path from stdout), we have no way of knowing that the unix monitor socket should exist/ be initialized. As a result, some of my KVM guests randomly fail to start on F10 host. Try to open the unix socket in a 3 second timeout loop. Ignore EACCES (path does not exist if a first time run) and ECONNREFUSED (leftover socket from a previous run hasn't been removed yet). Fixes things for me.
-
由 Daniel P. Berrange 提交于
* configure.in: Add --with-qemu-user and --with-qemu-group args * libvirt.spec.in: use 'qemu' for user/group for Fedora >= 12 * qemud/libvirtd_qemu.arg, qemud/test_libvirtd_qemu.aug, src/qemu.conf: Add 'user' and 'group' args for configuration * src/Makefile.am: Create %localstatedir/cache/libvirt/qemu * src/qemu_conf.c, src/qemu_conf.h: Load user/group from config * src/qemu_driver.c: Change user ID/group ID when launching QEMU guests. Change user/group ownership on disks/usb/pci devs. Put memory dumps in %localstatedir/cache/libvirt/qemu * src/util.c, src/util.h: Add convenient APIs for converting username/groupname to user ID / group ID
-
- 16 7月, 2009 4 次提交
-
-
由 Paolo Bonzini 提交于
* src/qemu_driver.c (qemudDomainCoreDump): New (qemuDriver): Add core dump function. The behaviour is similar as the current Xen dump
-
由 Daniel P. Berrange 提交于
* src/qemu_driver.c: Relabel disk images *before* running QEMU hotplug monitor commands
-
由 Daniel P. Berrange 提交于
* src/qemu_driver.c: Try new monitor syntax for hotplug first. If that fails fallback to old KVM specific syntax
-
由 Daniel P. Berrange 提交于
after a libvirtd daemon restart with active guests * src/qemu_driver: Read and dicard pending monitor data before issuing new monitor commands.
-
- 11 7月, 2009 1 次提交
-
-
由 Cole Robinson 提交于
If the qemu_driver was not initialized (possibly due to an error on driver startup), we can segfault if attempting to connect to the URI.
-
- 10 7月, 2009 4 次提交
-
-
由 Mark McLoughlin 提交于
We keep support for the pty based monitor so that we can re-connect to VMs started by older versions of libvirtd. * src/domain_conf.c: handle formatting and parsing unix monitors * src/qemu_driver.c: add qemudOpenMonitorUnix(), remove the monitor pty path searching from qemudFindCharDevicePTYs(), switch qemudStartVMDaemon() and qemuDomainXMLToNative() to using a unix monitor * tests/qemuxml2argvtest.c: switch to using a unix monitor * tests/qemuxml2argvdata/qemuxml2argv-*.args: update test data
-
由 Mark McLoughlin 提交于
There are no functional changes in this patch apart from adding the monitor type to the state XML. The patch mostly consists of switching to use virDomainChrDef every where to describe the monitor. * src/domain_conf.h: replace monitorpath with monitor_chr * src/domain_conf.c: handle parsing the monitor type and initializing monitor chr * src/qemu_conf.[ch]: make qemudBuildCommandLine take a virDomainChrDefPtr and use that to build the -monitor parameter * src/qemu_driver.c: split pty specific and common code from qemudOpenMonitor, have qemudStartVMDaemon() initialize monitor_chr * tests/qemuxml2argvtest.c: update for qemudBuildCommandLine() change
-
由 Mark McLoughlin 提交于
* src/qemu_driver.c: use a consistent coding style for function definitions
-
由 Mark McLoughlin 提交于
* src/qemu_driver.c: vm->monitorpath is already initialized in the case of re-connect, so move the initialization for the normal startup case out of the common code
-
- 30 6月, 2009 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 29 6月, 2009 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 25 6月, 2009 2 次提交
-
-
由 Daniel Veillard 提交于
* src/qemu_driver.c: fix a domain state problem after migration, patch by Federico Simoncelli, fixes #507537 * src/domain_conf.c: fix a transcient domain state problem after destroy, patch by Federico Simoncelli, fixes #507304 * AUTHORS: add Federico Simoncelli and Javier Fontan daniel
-
由 Daniel P. Berrange 提交于
-
- 23 6月, 2009 1 次提交
-
-
由 Cole Robinson 提交于
Currently, 'info' will always report that mem = max mem. Make sure we actually return the correct mem value.
-
- 16 6月, 2009 1 次提交
-
-
由 Cole Robinson 提交于
Rather than numerous instances of: emulator = vm->def->emulator; if (!emulator) emulator = virDomainDefDefaultEmulator(conn, vm->def, driver->caps); if (!emulator) return -1; Set this value at XML parse time in the domain config, so we can depend on it for all future emulator accesses. There were unchecked accesses in the qemu driver that were tripping up on this if no emulator was specified in the XML, see: http://www.redhat.com/archives/libvir-list/2008-October/msg00602.html
-
- 12 6月, 2009 3 次提交
-
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
- 03 6月, 2009 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 02 6月, 2009 1 次提交
-
-
由 Daniel Veillard 提交于
* src/Makefile.am src/node_device.[ch] src/node_device_conf.[ch] src/node_device_hal.[ch] src/node_device_hal_linux.c src/qemu_driver.c src/remote_internal.c src/storage_backend.c src/virsh.c src/xen_unified.c tests/nodedevxml2xmltest.c po/POTFILES.in: implementation for node device create and destroy in NPIV support, patch by David Allan Daniel
-
- 29 5月, 2009 2 次提交
-
-
由 Cole Robinson 提交于
Parse the command line output a bit earlier so we have a better chance of reporting the full error output on failure. I hit this when QEMU would try to boot an invalid kernel (virtinst bug).
-
由 Cole Robinson 提交于
Currently we print the raw UUID which isn't very useful in ascii format.
-
- 28 5月, 2009 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 21 5月, 2009 3 次提交
-
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
- 19 5月, 2009 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 15 5月, 2009 1 次提交
-
-
由 Daniel Veillard 提交于
* docs/schemas/domain.rng src/domain_conf.[ch] src/qemu_driver.c: extend the generic code for the RDP and desktop extensions of the graphic tag needed for vbox, patch by Pritesh Kothari Daniel
-
- 11 5月, 2009 5 次提交
-
-
由 Daniel P. Berrange 提交于
-
由 Cole Robinson 提交于
By checking the pid every retry period, we can quickly determine if the process crashed at startup, rather than make the user wait for the entire timeout (3 seconds).
-
由 Cole Robinson 提交于
virExec will write out the pid of the daemonized process only. Use this in the QEMU driver, rather than QEMU's pidfile, so we can catch errors we might miss if the emulator bails early.
-
由 Cole Robinson 提交于
This ensures the user will actually see 'hook' function error output.
-
由 Cole Robinson 提交于
Wraps __virExec with the VIR_EXEC_DAEMON flag. Waits on the intermediate process to ensure we don't end up with any zombies, and differentiates between original process errors and intermediate process errors.
-
- 08 5月, 2009 2 次提交
-
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
- 07 5月, 2009 1 次提交
-
-
由 Daniel Veillard 提交于
* src/domain_conf.c src/domain_conf.h: parse and save multiple graphics elements instead of one, patch by Pritesh Kothari * src/qemu_conf.c src/qemu_driver.c: adapt the qemu/kvm driver for the new structures, patch by Pritesh Kothari * src/xend_internal.c src/xm_internal.c: same thing for Xen drivers Daniel
-
- 06 5月, 2009 1 次提交
-
-
由 Mark McLoughlin 提交于
This change: Tue Mar 3 08:55:13 GMT 2009 Daniel P. Berrange <berrange@redhat.com> Don't try to detach & reset PCI devices while running test suite for XML-> ARGV conversion. * src/qemu_driver.c: Add qemuPrepareHostDevices() helper to detach and reset PCI devices. * src/qemu_conf.c: Don't detach & reset PCI devices while building the command line argv accidentally did this: - if (hostdev->managed) { + if (!hostdev->managed) { Which results in managed='yes' not causing the device to be detached when the guest is starting. Signed-off-by: NMark McLoughlin <markmc@redhat.com>
-