1. 29 7月, 2014 1 次提交
    • M
      qemu: Utilize virFileFindHugeTLBFS · 725a211f
      Michal Privoznik 提交于
      Use better detection of hugetlbfs mount points. Yes, there can be
      multiple mount points each serving different huge page size.
      
      Since we already have ability to override the mount point in the
      qemu.conf file, this crazy backward compatibility code is brought in.
      Now we allow multiple mount points, so the "hugetlbfs_mount" option
      must take an list of strings (mount points). But previously, it was
      just a string, so we must accept both types now.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      725a211f
  2. 28 7月, 2014 3 次提交
  3. 25 7月, 2014 4 次提交
    • P
      qemu: Fix starting of VMs with empty CDROM drives · efdb9117
      Peter Krempa 提交于
      Since 24e5cafb (thankfully unreleased)
      when a VM with an empty disk drive would be started the code would call
      stat() on NULL path as a check was missing from the callback rendering
      machines unstartable.
      
      Report success when the path is empty (denoting an empty drive).
      efdb9117
    • P
      virtio-rng: allow multiple RNG devices · bbddbefa
      Peter Krempa 提交于
      qemu supports adding multiple RNG devices. This patch allows libvirt to
      support this.
      bbddbefa
    • P
      qemu: cgroup: Don't use NULL path on default backed RNGs · 99ff49ee
      Peter Krempa 提交于
      The "random" backend for virtio-rng can be started with no path
      specified which equals to /dev/random. The cgroup code didn't consider
      this and called few of the functions with NULL resulting into:
      
       $ virsh start rng-vm
       error: Failed to start domain rng-vm
       error: Path '(null)' is not accessible: Bad address
      
      Problem introduced by commit c6320d34
      99ff49ee
    • M
      qemuConnectGetDomainCapabilities: Report error on unknown arch · 3d968f40
      Michal Privoznik 提交于
      If user hasn't provided any @emulatorbin, the qemuCaps are
      searched by @arch provided (which in fact can be guessed from the
      host). However, there's no guarantee that the qemu binary for
      @arch will exist.  Therefore qemu capabilities may be nonexistent
      too. If that's the case, we should throw an error message prior
      jumping onto 'cleanup' label as the helper lookup function
      remains silent on no search result.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      3d968f40
  4. 24 7月, 2014 13 次提交
  5. 23 7月, 2014 3 次提交
    • J
      Introduce virTristateSwitch enum · 3227e17d
      Ján Tomko 提交于
      For the values "default", "on", "off"
      
      Replaces
      virDeviceAddressPCIMulti
      virDomainFeatureState
      virDomainIoEventFd
      virDomainVirtioEventIdx
      virDomainDiskCopyOnRead
      virDomainMemDump
      virDomainPCIRombarMode
      virDomainGraphicsSpicePlaybackCompression
      3227e17d
    • J
      Introduce virTristateBool enum type · bb018ce6
      Ján Tomko 提交于
      Replace all three-state (default/yes/no) enums with it:
      virDomainBIOSUseserial
      virDomainBootMenu
      virDomainPMState
      virDomainGraphicsSpiceClipboardCopypaste
      virDomainGraphicsSpiceAgentFileTransfer
      virNetworkDNSForwardPlainNames
      bb018ce6
    • C
      LXC: show used memory as 0 when domain is not active · 1ce7c1d2
      Chen Hanxiao 提交于
      Before:
      virsh # dominfo chx3
      State:          shut off
      Max memory:     92160 KiB
      Used memory:    92160 KiB
      
      After:
      virsh # dominfo container1
      State:          shut off
      Max memory:     92160 KiB
      Used memory:    0 KiB
      
      Similar to qemu cases.
      Signed-off-by: NChen Hanxiao <chenhanxiao@cn.fujitsu.com>
      1ce7c1d2
  6. 22 7月, 2014 2 次提交
  7. 21 7月, 2014 2 次提交
  8. 18 7月, 2014 1 次提交
  9. 17 7月, 2014 11 次提交