1. 17 7月, 2009 1 次提交
    • D
      Run QEMU guests as an unprivileged user · 0714b2ba
      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
      0714b2ba
  2. 16 7月, 2009 4 次提交
  3. 11 7月, 2009 1 次提交
  4. 10 7月, 2009 4 次提交
    • M
      Switch to using a unix socket for the qemu monitor · 62455ed8
      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
      62455ed8
    • M
      Add the monitor type to the domain state XML · 05d377bd
      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
      05d377bd
    • M
      Minor qemu monitor coding style fixes · 1f4ec305
      Mark McLoughlin 提交于
      * src/qemu_driver.c: use a consistent coding style for function
        definitions
      1f4ec305
    • M
      Don't leak vm->monitorpath on re-connect · 8a52daa2
      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
      8a52daa2
  5. 30 6月, 2009 1 次提交
  6. 29 6月, 2009 1 次提交
  7. 25 6月, 2009 2 次提交
  8. 23 6月, 2009 1 次提交
  9. 16 6月, 2009 1 次提交
  10. 12 6月, 2009 3 次提交
  11. 03 6月, 2009 1 次提交
  12. 02 6月, 2009 1 次提交
    • D
      NPIV implementation for node device create and destroy · 81d0ffbc
      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
      81d0ffbc
  13. 29 5月, 2009 2 次提交
  14. 28 5月, 2009 1 次提交
  15. 21 5月, 2009 3 次提交
  16. 19 5月, 2009 1 次提交
  17. 15 5月, 2009 1 次提交
  18. 11 5月, 2009 5 次提交
  19. 08 5月, 2009 2 次提交
  20. 07 5月, 2009 1 次提交
    • D
      Changes needed for multiple graphics adapters · 7ee54d83
      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
      7ee54d83
  21. 06 5月, 2009 2 次提交
  22. 05 5月, 2009 1 次提交