1. 04 5月, 2018 11 次提交
  2. 03 5月, 2018 5 次提交
  3. 30 4月, 2018 2 次提交
  4. 26 4月, 2018 2 次提交
  5. 25 4月, 2018 1 次提交
  6. 24 4月, 2018 1 次提交
    • M
      virNumaGetHugePageInfo: Return page_avail and page_free as ULL · 31daccf5
      Michal Privoznik 提交于
      https://bugzilla.redhat.com/show_bug.cgi?id=1569678
      
      On some large systems (with ~400GB of RAM) it is possible for
      unsigned int to overflow in which case we report invalid number
      of 4K pages pool size. Switch to unsigned long long.
      
      We hit overflow in virNumaGetPages when doing:
      
          huge_page_sum += 1024 * page_size * page_avail;
      
      because although 'huge_page_sum' is an unsigned long long, the
      page_size and page_avail are both unsigned int, so the promotion
      to unsigned long long doesn't happen until the sum has been
      calculated, by which time we've already overflowed.
      
      Turning page_avail into a unsigned long long is not strictly
      needed until we need ability to represent more than 2^32
      4k pages, which equates to 16 TB of RAM. That's not
      outside the realm of possibility, so makes sense that we
      change it to unsigned long long to avoid future problems.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com>
      31daccf5
  7. 23 4月, 2018 2 次提交
  8. 21 4月, 2018 1 次提交
    • J
      tests: Xen: use qemu-system-i386 for emulator · cec1022e
      Jim Fehlig 提交于
      Many of the old xm and sexpr test files used qemu-dm as the emulator.
      Modern Xen systems no longer use the old, forked qemu-dm, instead
      preferring the distro provided qemu or an "upstream" qemu that is
      built when the Xen tools are built. This qemu is typically installed
      in /usr/lib/xen/bin/qemu-system-i386.
      
      The libxl test files already use /usr/lib/xen/bin/qemu-system-i386.
      For consistency, change the old test files to use the same emulator
      Signed-off-by: NJim Fehlig <jfehlig@suse.com>
      Reviewed-by: NJán Tomko <jtomko@redhat.com>
      cec1022e
  9. 20 4月, 2018 5 次提交
  10. 19 4月, 2018 8 次提交
  11. 18 4月, 2018 2 次提交