1. 07 8月, 2015 2 次提交
    • M
      numa_conf: Introduce virDomainNumaGetMaxCPUID · 8f2535de
      Michal Privoznik 提交于
      This function should return the greatest CPU number set in
      /domain/cpu/numa/cell/@cpus. The idea is that we should compare
      the returned value against /domain/vcpu value. Yes, there exist
      users who think the following is a good idea:
      
        <vcpu placement='static'>4</vcpu>
        <cpu mode='host-model'>
          <model fallback='allow'/>
          <numa>
            <cell id='0' cpus='0-1' memory='1048576' unit='KiB'/>
            <cell id='1' cpus='9-10' memory='2097152' unit='KiB'/>
          </numa>
        </cpu>
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      8f2535de
    • P
      qemu: Fix reporting of physical capacity for block devices · 8dc27259
      Peter Krempa 提交于
      Qemu reports physical size 0 for block devices. As 15fa84ac
      changed the behavior of qemuDomainGetBlockInfo to just query the monitor
      this created a regression since we didn't report the size correctly any
      more.
      
      This patch adds code to refresh the physical size of a block device by
      opening it and seeking to the end and uses it both in
      qemuDomainGetBlockInfo and also in qemuDomainGetStatsOneBlock that was
      broken since it was introduced in this respect.
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1250982
      8dc27259
  2. 06 8月, 2015 7 次提交
  3. 05 8月, 2015 7 次提交
  4. 04 8月, 2015 14 次提交
  5. 03 8月, 2015 10 次提交