5a49a4e63b
22045-python27-compat.patch Thu Nov 11 18:44:48 CST 2010 - cyliu@novell.com - bnc#641144 - FV Xen VM running windows or linux cannot write to virtual floppy drive bdrv_default_rwflag.patch - fate#310510 - fix xenpaging xenpaging.optimize_p2m_mem_paging_populate.patch xenpaging.HVMCOPY_gfn_paged_out.patch - bnc#649864 - automatic numa cpu placement of xen conflicts with cpupools 22326-cpu-pools-numa-placement.patch - fate#310510 - fix xenpaging xenpaging.populate_only_if_paged.patch - revert logic, populate needs to happen unconditionally xenpaging.p2m_mem_paging_populate_if_p2m_ram_paged.patch - invalidate current mfn only if gfn is not in flight or done xenpaging.mem_event_check_ring-free_requests.patch - print info only if 1 instead of 2 slots are free xenpaging.guest_remove_page.patch - check mfn before usage in resume function xenpaging.machine_to_phys_mapping.patch - check mfn before usage in resume function - bnc#552115 - Remove target discovery in block-iscsi OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=82
41 lines
1.5 KiB
Diff
41 lines
1.5 KiB
Diff
Index: xen-4.0.1-testing/extras/mini-os/netfront.c
|
|
===================================================================
|
|
--- xen-4.0.1-testing.orig/extras/mini-os/netfront.c
|
|
+++ xen-4.0.1-testing/extras/mini-os/netfront.c
|
|
@@ -25,8 +25,8 @@ DECLARE_WAIT_QUEUE_HEAD(netfront_queue);
|
|
|
|
|
|
|
|
-#define NET_TX_RING_SIZE __RING_SIZE((struct netif_tx_sring *)0, PAGE_SIZE)
|
|
-#define NET_RX_RING_SIZE __RING_SIZE((struct netif_rx_sring *)0, PAGE_SIZE)
|
|
+#define NET_TX_RING_SIZE __CONST_RING_SIZE(netif_tx, PAGE_SIZE)
|
|
+#define NET_RX_RING_SIZE __CONST_RING_SIZE(netif_rx, PAGE_SIZE)
|
|
#define GRANT_INVALID_REF 0
|
|
|
|
|
|
Index: xen-4.0.1-testing/extras/mini-os/lib/math.c
|
|
===================================================================
|
|
--- xen-4.0.1-testing.orig/extras/mini-os/lib/math.c
|
|
+++ xen-4.0.1-testing/extras/mini-os/lib/math.c
|
|
@@ -191,6 +191,7 @@ __qdivrem(uint64_t uq, uint64_t vq, uint
|
|
* and thus
|
|
* m = 4 - n <= 2
|
|
*/
|
|
+ tmp.ul[H] = tmp.ul[L] = 0;
|
|
tmp.uq = uq;
|
|
u[0] = 0;
|
|
u[1] = HHALF(tmp.ul[H]);
|
|
Index: xen-4.0.1-testing/extras/mini-os/arch/x86/mm.c
|
|
===================================================================
|
|
--- xen-4.0.1-testing.orig/extras/mini-os/arch/x86/mm.c
|
|
+++ xen-4.0.1-testing/extras/mini-os/arch/x86/mm.c
|
|
@@ -281,7 +281,7 @@ static void build_pagetable(unsigned lon
|
|
/*
|
|
* Mark portion of the address space read only.
|
|
*/
|
|
-extern void shared_info;
|
|
+extern char shared_info[PAGE_SIZE];
|
|
static void set_readonly(void *text, void *etext)
|
|
{
|
|
unsigned long start_address =
|