1. 20 5月, 2016 16 次提交
  2. 19 5月, 2016 8 次提交
    • P
      qemu: bulk stats: Don't access possibly blocked storage · 71d2c172
      Peter Krempa 提交于
      If the stats for a block device can't be acquired from qemu we've
      fallen back to loading them from the file on the disk in libvirt.
      
      If qemu is not cooperating due to being stuck on an inaccessible NFS
      share we would then attempt to read the files and get stuck too with
      the VM object locked. All other APIs would eventually get stuck waiting
      on the VM lock.
      
      Avoid this problem by skipping the block stats if the VM is online but
      the monitor did not provide any stats.
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1337073
      71d2c172
    • P
      qemu: driver: Separate bulk stats worker for block devices · 3aa5d51a
      Peter Krempa 提交于
      Extract the fallback path that reloads the stats from disk into a
      separate function.
      3aa5d51a
    • P
      qemu: driver: Remove unnecessary flag in qemuDomainGetStatsBlock · 5d2b0e6f
      Peter Krempa 提交于
      'abbreviated' was true if 'stats' were NULL
      5d2b0e6f
    • Q
      perf: add support to perf event for MBM · 90b9995d
      Qiaowei Ren 提交于
      Some Intel processor families (e.g. the Intel Xeon processor E5 v3
      family) introduced some RDT (Resource Director Technology) features
      to monitor or control shared resource. Among these features, MBM
      (Memory Bandwidth Monitoring), which is build on the CMT (Cache
      Monitoring Technology) infrastructure, provides OS/VMM a way to
      monitor bandwidth from one level of cache to another.
      
      With current perf framework, this patch adds support to perf event
      for MBM.
      Signed-off-by: NQiaowei Ren <qiaowei.ren@intel.com>
      90b9995d
    • J
      qemu_cgroup: allow access to /dev/dri for virtio-vga · 3943bdd6
      Ján Tomko 提交于
      QEMU needs access to the /dev/dri/render* device for
      virgl to work.
      
      Allow access to all /dev/dri/* devices for domains with
      <video>
        <model type='virtio' heads='1' primary='yes'>
          <acceleration accel3d='yes'/>
        </model>
      </video>
      
      https://bugzilla.redhat.com/show_bug.cgi?id=1337290
      3943bdd6
    • C
      qemu: address: Remove QEMU_CAPS_DEVICE usage · 20a0fa8e
      Cole Robinson 提交于
      All qemu versions we support have QEMU_CAPS_DEVICE, so checking
      for it is redundant. Remove the usage.
      
      The code diff isn't clear, but all that code is just inindented
      with no other change.
      
      Test cases that hit qemuDomainAssignAddresses but don't have
      infrastructure for specifying qemuCaps values see lots of
      churn, since now PCI addresses are in the XML output.
      20a0fa8e
    • C
      qemu: Call virDomainDefPostParse via CONFIG hotplug · 383833e2
      Cole Robinson 提交于
      hotplug APIs with the AFFECT_CONFIG flag are essentially replicating
      'insert <device> into XML document, and redefine XML'. Thinking of
      it this way, it's natural that we call virDomainDefPostParse after
      manually editing the XML here.
      
      Not only does doing so allow us to drop a bunch of open coded calls
      to qemuDomainAssignAddresses, but it also means we are going through
      the standard channels for XML validation and potentially catching
      errors in user submitted XML.
      383833e2
    • C
      qemu: Assign device addresses in PostParse · 5d7314bb
      Cole Robinson 提交于
      This wires up qemuDomainAssignAddresses into the new
      virDomainDefAssignAddressesCallback, so it's always triggered
      via virDomainDefPostParse. We are essentially doing this already
      with open coded calls sprinkled about.
      
      qemu argv parse output changes slightly since previously it wasn't
      hitting qemuDomainAssignAddresses.
      5d7314bb
  3. 18 5月, 2016 6 次提交
  4. 17 5月, 2016 6 次提交
  5. 16 5月, 2016 4 次提交