[PATCH 0/6] qemu: Fix hotplugging cpus with strict memory pinning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Deatils are in the patches themselves, but the basic idea is this:

Setup:

  $ grep DMA32 /proc/zoneinfo
  Node 0, zone    DMA32

  $ virsh dumpxml domain | grep -C1 strict
    <numatune>
      <memory mode='strict' nodeset='1'/>
    </numatune>

  $ virsh start domain
  Domain domain started

Before:

  $ virsh setvcpus domain 2
  error: Unable to read from monitor: Connection reset by peer
  # Domain died

After:

  $ virsh setvcpus domain 2
  # hotplug successful

Martin


Martin Kletzander (6):
  util: Add function virCgroupHasEmptyTasks
  util: Add virNumaGetHostNodeset
  qemu: Remove unnecessary qemuSetupCgroupPostInit function
  qemu: Save numad advice into qemuDomainObjPrivate
  qemu: Leave cpuset.mems in parent cgroup alone
  qemu: Fix hotplugging cpus with strict memory pinning

 src/libvirt_private.syms |  2 ++
 src/qemu/qemu_cgroup.c   | 94 +++++++++++++++++++++++++++++++++++++-----------
 src/qemu/qemu_cgroup.h   |  9 ++---
 src/qemu/qemu_domain.c   |  1 +
 src/qemu/qemu_domain.h   |  1 +
 src/qemu/qemu_driver.c   | 88 +++++++++++++++++++++++++--------------------
 src/qemu/qemu_process.c  | 21 ++++++-----
 src/util/vircgroup.c     | 23 ++++++++++++
 src/util/vircgroup.h     |  4 ++-
 src/util/virnuma.c       | 28 +++++++++++++++
 src/util/virnuma.h       |  1 +
 11 files changed, 194 insertions(+), 78 deletions(-)

--
2.2.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]