WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

[Xen-devel] [PATCH] Deprecate usage of IDE and SCSI frontend devices in

To: xen-devel@xxxxxxxxxxxxxxxxxxx, Ewan Mellor <ewan@xxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Deprecate usage of IDE and SCSI frontend devices in paravirt guests
From: Glauber de Oliveira Costa <gcosta@xxxxxxxxxx>
Date: 2006年10月27日 10:41:08 -0300
Delivery-date: 2006年10月27日 06:41:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11
This patch deprecates the usage in IDE and SCSI front end devices in
paravirt guests, through a warning. HVM is untouched.
Comments welcome,
Signed-off-by: Glauber de Oliveira Costa <gcosta@xxxxxxxxxx>
-- 
Glauber de Oliveira Costa
Red Hat Inc.
"Free as in Freedom"
# HG changeset patch
# User gcosta@xxxxxxxxxx
# Date 1161955140 14400
# Node ID bea5de78c62533d3a0efd1c43f41e6ff56572743
# Parent 0c7923eb6b9846c92f1c15486e06ee9745bcf676
[LINUX] Deprecate usage of ide/scsi devices in paravirt guests
diff -r 0c7923eb6b98 -r bea5de78c625 
linux-2.6-xen-sparse/drivers/xen/blkfront/vbd.c
--- a/linux-2.6-xen-sparse/drivers/xen/blkfront/vbd.c Wed Oct 25 10:27:03 
2006 +0100
+++ b/linux-2.6-xen-sparse/drivers/xen/blkfront/vbd.c Fri Oct 27 09:19:00 
2006 -0400
@@ -109,10 +109,16 @@ xlbd_alloc_major_info(int major, int min
 
 switch (index) {
 case XLBD_MAJOR_IDE_RANGE:
+#ifdef CONFIG_XEN
+ WPRINTK("Use of IDE block devices inside paravirt guests is 
deprecated\n");
+#endif
 ptr->type = &xlbd_ide_type;
 ptr->index = index - XLBD_MAJOR_IDE_START;
 break;
 case XLBD_MAJOR_SCSI_RANGE:
+#ifdef CONFIG_XEN
+ WPRINTK("Use of SCSI block devices inside paravirt guests is 
deprecated\n");
+#endif
 ptr->type = &xlbd_scsi_type;
 ptr->index = index - XLBD_MAJOR_SCSI_START;
 break;
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Deprecate usage of IDE and SCSI frontend devices in paravirt guests, Glauber de Oliveira Costa <=
Previous by Date: Re: [Xen-devel] Is anyone working on HVM Paravirt drivers for windows? , Daniel P. Berrange
Next by Date: RE: [Xen-devel] [patch] Add support for barriers to blk{back, front} drivers. , Ian Pratt
Previous by Thread: [Xen-devel] [PATCH]mini-os: Changing makerules for ia64 , Dietmar Hahn
Next by Thread: [Xen-devel] Re: loop devices - Xen 3.0.3 problem? , Tomasz Chmielewski
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /