All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrange" <berrange@redhat.com>
To: Kasai Takanori <kasai.takanori@jp.fujitsu.com>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: [PATCH] Allow blktap to be able to be booted assystem volume for PV-on-HVM
Date: Mon, 9 Jul 2007 14:47:59 +0100	[thread overview]
Message-ID: <20070709134759.GA9496@redhat.com> (raw)
In-Reply-To: <02c701c7c1e7$cc6b2ad0$dab2220a@VF03007L>

On Mon, Jul 09, 2007 at 02:09:47PM +0900, Kasai Takanori wrote:
> >It also doesn't take account of
> >fact that the device may be named 'xvda' rather than 'hda'.
> 
> I saw the presented patches. The xvdN was forcedly looked like the hdN.
> For example, the hdc is a special device named CDROM in qemu-dm.

No that is wrong. Any hdX device can be a CDROM - whether it is a CDROM
or not is determined by the :cdrom postfix, not the device name.

eg You can happily make hdc a harddisk:

   tap:aio:/var/lib/xen/images/dom.img,hdc,w

Or make hda a CDROM

   tap:aio:/var/lib/xen/images/dom.img,hda:cdrom,w


> Therefore, I think that it should not forcedly do it because it cannot take 
> the consistency.

Being able to use 'xvd*', as well as 'hd*' or 'sd*' as device names is 
important for consistency with paravirt guests, where xvd* is the 
recommended default.

> I think the HVM domain to be should boot on the hda as it is a 
> specification of qemu-dm.

It can do that. My patch made it possible to use either

   tap:aio:/var/lib/xen/images/dom.img,hda,w

Or

   tap:aio:/var/lib/xen/images/dom.img,xvda,w

At the user's choice. 

n/
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

  reply	other threads:[~2007-07-09 13:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-06 10:50 [PATCH] Allow blktap to be able to be booted as system volume for PV-on-HVM Kasai Takanori
2007-07-06 13:27 ` Daniel P. Berrange
2007-07-09  5:09   ` [PATCH] Allow blktap to be able to be booted assystem " Kasai Takanori
2007-07-09 13:47     ` Daniel P. Berrange [this message]
2007-07-10  0:55       ` [PATCH] Allow blktap to be able to be booted assystemvolume " Kasai Takanori

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=20070709134759.GA9496@redhat.com \
    --to=berrange@redhat.com \
    --cc=kasai.takanori@jp.fujitsu.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.