Olaf Hering
b9d38dfc8d
- remove xen.migrate.tools_notify_restore_to_hangup_during_migration_--abort_if_busy.patch It changed migration protocol and upstream wants a different solution - bnc#802221 - fix xenpaging readd xenpaging.qemu.flush-cache.patch - Upstream patches from Jan 26891-x86-S3-Fix-cpu-pool-scheduling-after-suspend-resume.patch 26930-x86-EFI-fix-runtime-call-status-for-compat-mode-Dom0.patch - Additional fix for bnc#816159 CVE-2013-1918-xsa45-followup.patch - bnc#817068 - Xen guest with >1 sr-iov vf won't start xen-managed-pci-device.patch - Update to Xen 4.2.2 c/s 26064 The following recent security patches are included in the tarball CVE-2013-0151-xsa34.patch (bnc#797285) CVE-2012-6075-xsa41.patch (bnc#797523) CVE-2013-1917-xsa44.patch (bnc#813673) CVE-2013-1919-xsa46.patch (bnc#813675) - Upstream patch from Jan 26902-x86-EFI-pass-boot-services-variable-info-to-runtime-code.patch - bnc#816159 - VUL-0: xen: CVE-2013-1918: XSA-45: Several long latency operations are not preemptible CVE-2013-1918-xsa45-1-vcpu-destroy-pagetables-preemptible.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=237
32 lines
1.3 KiB
Diff
32 lines
1.3 KiB
Diff
Subject: xenpaging/qemu-dm: add command to flush buffer cache.
|
|
|
|
Add support for a xenstore dm command to flush qemu's buffer cache.
|
|
|
|
qemu will just keep mapping pages and not release them, which causes problems
|
|
for the memory pager (since the page is mapped, it won't get paged out). When
|
|
the pager has trouble finding a page to page out, it asks qemu to flush its
|
|
buffer, which releases all the page mappings. This makes it possible to find
|
|
pages to swap out agian.
|
|
|
|
Already-Signed-off-by: Patrick Colp <Patrick.Colp@citrix.com>
|
|
Signed-off-by: Olaf Hering <olaf@aepfle.de>
|
|
|
|
---
|
|
tools/qemu-xen-traditional-dir-remote/xenstore.c | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
Index: xen-4.2.2-testing/tools/qemu-xen-traditional-dir-remote/xenstore.c
|
|
===================================================================
|
|
--- xen-4.2.2-testing.orig/tools/qemu-xen-traditional-dir-remote/xenstore.c
|
|
+++ xen-4.2.2-testing/tools/qemu-xen-traditional-dir-remote/xenstore.c
|
|
@@ -1019,6 +1019,9 @@ static void xenstore_process_dm_command_
|
|
do_pci_add(par);
|
|
free(par);
|
|
#endif
|
|
+ } else if (!strncmp(command, "flush-cache", len)) {
|
|
+ fprintf(logfile, "dm-command: flush caches\n");
|
|
+ qemu_invalidate_map_cache();
|
|
} else {
|
|
fprintf(logfile, "dm-command: unknown command\"%*s\"\n", len, command);
|
|
}
|