Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 286331 Details for
Bug 380343
app-emulation/xen 4.1.1 needs qemu to start PV-domains
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libxl-patch (amended for gentoo)
xen-tools-4.1.1-libxl-tap.patch (text/plain), 1.05 KB, created by
J. Roeleveld
on 2011-09-13 11:04:28 UTC
(
hide
)
Description:
libxl-patch (amended for gentoo)
Filename:
MIME Type:
Creator:
J. Roeleveld
Created:
2011-09-13 11:04:28 UTC
Size:
1.05 KB
patch
obsolete
>Index: xen-tools-4.1.1/tools/libxl/libxl_dm.c >=================================================================== >--- xen-4.1.1.orig/tools/libxl/libxl_dm.c Tue Mar 15 10:14:27 2011 +0000 >+++ xen-4.1.1/tools/libxl/libxl_dm.c Tue Mar 15 18:19:47 2011 +0000 >@@ -828,8 +828,29 @@ > goto out; > } > >- if (nr_disks > 0 && !libxl__blktap_enabled(&gc)) >- ret = 1; >+ if (nr_disks > 0) { >+ int blktap_enabled = -1; >+ for (i = 0; i < nr_disks; i++) { >+ switch (disks[i].backend) { >+ case DISK_BACKEND_TAP: >+ if (blktap_enabled == -1) >+ blktap_enabled = libxl__blktap_enabled(&gc); >+ if (!blktap_enabled) { >+ ret = 1; >+ goto out; >+ } >+ break; >+ >+ case DISK_BACKEND_QDISK: >+ ret = 1; >+ goto out; >+ >+ case DISK_BACKEND_PHY: >+ case DISK_BACKEND_UNKNOWN: >+ break; >+ } >+ } >+ } > > out: > libxl__free_all(&gc); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 380343
: 286331