[PATCH 0/5] Fix migration from older libvirt with hugepages

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

 



Since libvirt is able to use memory-backend-{ram,file}, we were using
it unconditionally, then we realized it might break migration from
older libvirt, so we fixed the memory-backend-ram, but forgot about
memory-backend-file.  This series fixes the file backend as well and
uses the memory-backend-file only when it is needed.  Fortunately,
there is no verison of libvirt that would know about such
configuration and, at the same time, not use these new objects, so
there is no old libvirt from which the migration would be broken from
(due to this particular reason).

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1266856


Martin Kletzander (5):
  qemu: Move simplification variable to begining of the function
  qemu: Move memory size detection to the top of the function
  qemu: Extract -mem-path building into its own function
  qemu: Add -mem-path even with numa
  qemu: Use memory-backing-file only when needed

 src/qemu/qemu_command.c                            | 166 ++++++++++++---------
 .../qemuxml2argv-hugepages-numa.args               |   6 +-
 .../qemuxml2argv-hugepages-pages6.args             |   2 +-
 3 files changed, 100 insertions(+), 74 deletions(-)

--
2.6.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]

  Powered by Linux