aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* tests: handle backspace-newline pairs in test input filesJuerg Haefliger2011-01-311-1/+6
| | | | | | | | This patch teaches testutil how to read multi-line input files with backspace-newline line continuation markers. The patch also breaks up all the single-line arguments test input files into multi-line files with lines shorter than 80 characters.
* Do not use boot=on on IDE deviceDaniel Veillard2010-08-041-1/+1
| | | | | | | | the followup on the boot=on problem, basically it's not needed to specify it when booting out of IDE devices when using KVM * src/qemu/qemu_conf.c: do not use boot=on for IDE devices * tests/qemuxml2argvdata/qemuxml2argv*.args: this changes the output for 5 of the tests
* Specify bus/unit instead of index for disks with QEMUDaniel P. Berrange2010-01-151-1/+1
| | | | | | | | | | | | | | | | | | | | The current code for using -drive simply sets the -drive 'index' parameter. QEMU internally converts this to bus/unit depending on the type of drive. This does not give us precise control over the bus/unit assignment though. This change switches over to make libvirt explicitly calculate the bus/unit number. In addition bus/unit/index are actually irrelevant for VirtIO disks, since each virtio disk is a separate PCI device. No disk controller is involved. Doing the conversion to bus/unit in libvirt allows us to correctly attach SCSI controllers when required. * src/qemu/qemu_conf.c: Specify bus/unit instead of index for disks * tests/qemuxml2argvdata/qemuxml2argv-disk*.args: Switch over from using index=NNNN, to bus=NN, unit=NN for SCSI/IDE/Floppy disks
* Switch to using a unix socket for the qemu monitorMark McLoughlin2009-07-091-1/+1
| | | | | | | | | | | | | | | | 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
* Add pidfile argument to __virExecCole Robinson2009-05-111-1/+1
| | | | | | 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.
* let qemu/kvm instances write a pid fileGuido Günther2008-12-181-1/+1
|
* Support SDL config with QEMU guestsDaniel P. Berrange2008-10-101-1/+1
|
* tests: append a newline to expected-output files lacking NL-at-EOFJim Meyering2008-08-111-1/+1
| | | | | | | | * tests/qemuxml2argvtest.c (testCompareXMLToArgvFiles): Adjust the code that creates "actual" output, so that it too produces a newline-terminated buffer. * tests/qemuxml2argvdata/*.args: Append a newline to each, via: for i in $(find|grep '\.args$'); do echo >> $i;done
* Apply CPU pinning at startup for QEMU guestsDaniel P. Berrange2008-05-221-1/+1
|
* Support paravirt disk configuration for xenner guestsDaniel P. Berrange2008-05-151-0/+1