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

[Xen-changelog] [xen-unstable] libxl: return "tap" as backend type for PHYSTYPE_QCOW2



# HG changeset patch
# User Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
# Date 1292354905 0
# Node ID 197c0b40423aabf6bb71822566f2a831d3d9c704
# Parent  a2713356ad24b94b5e2fb1d141e2041a2699fd23
libxl: return "tap" as backend type for PHYSTYPE_QCOW2

Return "tap" as backend type for PHYSTYPE_QCOW2.  This arranges that
qcow2 disks should work in xl.

Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 tools/libxl/libxl_device.c |    1 +
 1 files changed, 1 insertion(+)

diff -r a2713356ad24 -r 197c0b40423a tools/libxl/libxl_device.c
--- a/tools/libxl/libxl_device.c        Tue Dec 14 19:04:03 2010 +0000
+++ b/tools/libxl/libxl_device.c        Tue Dec 14 19:28:25 2010 +0000
@@ -138,6 +138,7 @@ char *libxl__device_disk_backend_type_of
 {
     switch (phystype) {
         case PHYSTYPE_QCOW: return "tap";
+        case PHYSTYPE_QCOW2: return "tap";
         case PHYSTYPE_VHD: return "tap";
         case PHYSTYPE_AIO: return "tap";
         /* let's pretend file is tap:aio */

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.