1. 27 11月, 2009 2 次提交
  2. 26 11月, 2009 5 次提交
  3. 24 11月, 2009 2 次提交
  4. 23 11月, 2009 5 次提交
    • D
      Support QEMU's virtual FAT block device driver · e7c78b0a
      Daniel P. Berrange 提交于
      Introduce a new type="dir"  mode for <disks> that allows use of
      QEMU's  virtual FAT block device driver. eg
      
          <disk type='dir' device='floppy'>
            <source dir='/tmp/test'/>
            <target dev='fda' bus='fdc'/>
            <readonly/>
          </disk>
      
      gets turned into
      
        -drive file=fat:floppy:/tmp/test,if=floppy,index=0
      
      Only read-only disks are supported with virtual FAT mode
      
      * src/conf/domain_conf.c, src/conf/domain_conf.h: Add type="dir"
      * docs/schemas/domain.rng: Document new disk type
      * src/xen/xend_internal.c, src/xen/xm_internal.c: Raise error for
        unsupported disk types
      * tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-empty.args: Fix
        empty disk file handling
      * tests/qemuxml2argvdata/qemuxml2argv-disk-drive-fat.args,
        tests/qemuxml2argvdata/qemuxml2argv-disk-drive-fat.xml,
        tests/qemuxml2argvdata/qemuxml2argv-floppy-drive-fat.args,
        tests/qemuxml2argvdata/qemuxml2argv-floppy-drive-fat.xml
        tests/qemuxml2argvtest.c: Test QEMU vitual FAT driver
      * src/qemu/qemu_conf.c: Support generating fat:/some/dir type
        disk args
      * src/security/security_selinux.c: Temporarily skip labelling
        of directory based disks
      e7c78b0a
    • D
      Alternate CPU affinity impl to cope with NR_CPUS > 1024 · a73cd93b
      Daniel P. Berrange 提交于
      The cpu_set_t type can only cope with NR_CPUS <= 1024, beyond this
      it is neccessary to use alternate CPU_SET maps with a dynamically
      allocated CPU map
      
      * src/util/processinfo.c: Support new unlimited size CPU set type
      a73cd93b
    • D
      Pull schedular affinity code out into a separate module · 37f415da
      Daniel P. Berrange 提交于
      * src/Makefile.am: Add processinfo.h/processinfo.c
      * src/util/processinfo.c, src/util/processinfo.h: Module providing
        APIs for getting/setting process CPU affinity
      * src/qemu/qemu_driver.c: Switch over to new APIs for schedular
        affinity
      * src/libvirt_private.syms: Export virProcessInfoSetAffinity
        and virProcessInfoGetAffinity to internal drivers
      37f415da
    • D
      Ignore docs/ directory for strcmp() syntax check · af10d9ba
      Daniel P. Berrange 提交于
      * .x-sc_prohibit_strcmp_and_strncmp: Ignore docs/
      af10d9ba
    • D
      Fix news.html validation · 79d2c583
      Dan Kenigsberg 提交于
      79d2c583
  5. 21 11月, 2009 2 次提交
    • D
      Release of libvirt-0.7.4 · 040e80f7
      Daniel Veillard 提交于
      0.7.3 was broken
      
      * configure.in docs/news.html.in: release of 0.7.4
      * configure.in libvirt.spec.in: require netcf >= 0.1.4
      * src/Makefile.am: node_device/node_device_udev.h was missing from
        NODE_DEVICE_DRIVER_UDEV_SOURCES breaking compilation on platforms with
        udev
      040e80f7
    • D
      Release of libvirt-0.7.3 · b8d4b6be
      Daniel Veillard 提交于
      * configure.in docs/news.html.in libvirt.spec.in: describe new release
      * po/*.po*: regenerate
      b8d4b6be
  6. 20 11月, 2009 8 次提交
    • D
      Enable udev instead of hal on F12 / RHEL-6 or later · 4811fab7
      Daniel P. Berrange 提交于
      HAL has been deprecated since F12 and RHEL-6, so if building on
      these platforms, switch on the udev driver instead
      
      * libvirt.spec.in: Activate udev on F12/RHEL6
      4811fab7
    • C
      Document overriding domain interface target · eb813968
      Cole Robinson 提交于
      * docs/formatdomain.html.in: document that vnet and vif are reserved
        names and will be ignored if manually specified.
      eb813968
    • C
      python: Actually implement list*Interfaces bindings · c7e1cfc9
      Cole Robinson 提交于
      * python/generator.py python/libvirt-override-api.xml
        python/libvirt-override.c: implement the bindings for
        virConnectListInterfaces() and virConnectListDefinedInterfaces()
      c7e1cfc9
    • D
      514532 Fix man page, most operation are synchronous · 7d43c80b
      Daniel Veillard 提交于
      * tools/virsh.pod: the man page was stating that most operations
        are asynchronous while in fact most of them are synchronous except
        domain shutdown, setvcpus and setmem.
      7d43c80b
    • D
      504262 Check for duplicated UUID in XM Xen defines · 776b6758
      Daniel Veillard 提交于
      * src/xen/xm_internal.c: the XM driver was not checking for previously
        defined UUID on new defines. Similar to virDomainObjIsDuplicate()
        behaviour.
      776b6758
    • D
      512069 fix domain XML schemas for backward compatibility · 2060a0a4
      Daniel Veillard 提交于
      For backward compatibility we used to add the tty path as
      a tty attribute on console of type pty, duplicating the value
      now found in source/@path, but the Relax-NG grammar wasn't
      extended for this
          <console type='pty' tty='/dev/pts/8'>
            <source path='/dev/pts/8'/>
            <target port='0'/>
          </console>
      
      * docs/schemas/domain.rng: allow an optional tty attribute
        containing a devicePath
      2060a0a4
    • S
      qemu-kvm needs -enable-kvm flag for VT optimization · b827338a
      Steve Yarmie 提交于
      Recent qemu releases require command option '-enable-qemu' in order
      for the kvm functionality be activated. Libvirt needs to pass this flag
      to qemu when starting a domain. Note that without the option,
      even if both the kernel and qemu support KVM, KVM will not be activated
      and VMs will be very slow.
      
      * src/qemu/qemu_conf.h src/qemu/qemu_conf.c: parse the extra command
        line option from help and add it when running kvm
      * tests/qemuhelptest.c: this modified the flags output for qemu-0.10.5
        and qemu-kvm-0.11.0-rc2 regression tests
      b827338a
    • S
      fix deprecated iptables command syntax · 264f3dda
      Steve Yarmie 提交于
      * src/util/iptables.c: `--option !  this` is deprecated in favor of
        `! --option this` syntax, change the output command accordingly
      264f3dda
  7. 19 11月, 2009 4 次提交
    • D
      remove sysfs_path and parent_sysfs_path from XML · 2cdb665b
      Dave Allan 提交于
      Erroneously included the sysfs_path and parent_sysfs_path elements in
      the node device xml, they were not supposed to show up there
      
      * src/conf/node_device_conf.c: remove the output of the 2 fields
      2cdb665b
    • D
      Removing devicePath member from dev struct · f2f656d4
      Dave Allan 提交于
      I realized that I inadvertently added a member to the def struct to
      contain each device's sysfs path when there was an existing member in the
      dev struct for "OS specific path to device metadat, eg sysfs"  Since the
      udev backend needs to record the sysfs path while it's in the process of
      creating the device, before the dev struct gets allocated, I chose to
      remove the member from the dev struct.
      
      * src/conf/node_device_conf.c src/conf/node_device_conf.h
        src/node_device/node_device_driver.c src/node_device/node_device_hal.c
        src/node_device/node_device_udev.c: remove devicePath from the
        structure and use def->sysfs_path instead
      f2f656d4
    • D
      report OOM in two places in node_device_driver.c · 0fe55374
      Dave Allan 提交于
      * src/node_device/node_device_driver.c: two places where not calling
        virReportOOMError after strdup failure
      0fe55374
    • D
      Ensure driver lock is released when entering QEMU monitor · 278e9478
      Daniel P. Berrange 提交于
      The qemudStartVMDaemon() and several functions it calls use
      the QEMU monitor. The QEMU driver is locked while this function
      is executing, so it is rquired to release the driver lock and
      reacquire it either side of issuing a monitor command. It
      failed todo so, leading to deadlock
      
      * qemu/qemu_driver.c: Release driver when in qemudStartVMDaemon
        and things it calls
      278e9478
  8. 17 11月, 2009 5 次提交
  9. 16 11月, 2009 1 次提交
  10. 15 11月, 2009 6 次提交