From: Glauber de Oliveira Costa <gcosta@redhat.com>
To: xen-devel@lists.xensource.com, Ewan Mellor <ewan@xensource.com>
Subject: [PATCH] Deprecate usage of IDE and SCSI frontend devices in paravirt guests
Date: Fri, 27 Oct 2006 10:41:08 -0300 [thread overview]
Message-ID: <20061027134108.GA12493@redhat.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 268 bytes --]
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@redhat.com>
--
Glauber de Oliveira Costa
Red Hat Inc.
"Free as in Freedom"
[-- Attachment #2: xen-deprecate-nonxvd --]
[-- Type: text/plain, Size: 1023 bytes --]
# HG changeset patch
# User gcosta@redhat.com
# 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;
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
reply other threads:[~2006-10-27 13:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061027134108.GA12493@redhat.com \
--to=gcosta@redhat.com \
--cc=ewan@xensource.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.