05bedd5488
named ext" xm-create-xflag.patch - Fix xen-utils to cope with xen-unstable c/s 21483 - xz-devel is available since 11.2, make it optional for SLES11SP1 - bnc#665610 - xm console > 1 to same VM messes up both consoles Upstream rejected due to portability concern, see http://lists.xensource.com/archives/html/xen-devel/2011-02/msg00942.html xenconsole-no-multiple-connections.patch - Enable support for kernel decompression for gzip, bzip2, and LZMA so that kernels compressed with any of these methods can be launched. - Update to Xen 4.1.0 c/s 22861 OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=102
37 lines
1.3 KiB
Diff
37 lines
1.3 KiB
Diff
Index: xen-4.1.0-testing/xen/arch/x86/domain.c
|
|
===================================================================
|
|
--- xen-4.1.0-testing.orig/xen/arch/x86/domain.c
|
|
+++ xen-4.1.0-testing/xen/arch/x86/domain.c
|
|
@@ -145,15 +145,30 @@ void dump_pageframe_info(struct domain *
|
|
|
|
printk("Memory pages belonging to domain %u:\n", d->domain_id);
|
|
|
|
- if ( d->tot_pages >= 10 )
|
|
+ if ( d->tot_pages >= 10 && d->is_dying < DOMDYING_dead )
|
|
{
|
|
printk(" DomPage list too long to display\n");
|
|
}
|
|
else
|
|
{
|
|
+ unsigned long total[PGT_type_mask
|
|
+ / (PGT_type_mask & -PGT_type_mask) + 1] = {};
|
|
+
|
|
spin_lock(&d->page_alloc_lock);
|
|
page_list_for_each ( page, &d->page_list )
|
|
{
|
|
+ unsigned int index = (page->u.inuse.type_info & PGT_type_mask)
|
|
+ / (PGT_type_mask & -PGT_type_mask);
|
|
+
|
|
+ if ( ++total[index] > 16 )
|
|
+ {
|
|
+ switch ( page->u.inuse.type_info & PGT_type_mask )
|
|
+ {
|
|
+ case PGT_none:
|
|
+ case PGT_writable_page:
|
|
+ continue;
|
|
+ }
|
|
+ }
|
|
printk(" DomPage %p: caf=%08lx, taf=%" PRtype_info "\n",
|
|
_p(page_to_mfn(page)),
|
|
page->count_info, page->u.inuse.type_info);
|