From: "Andrew Warfield" Subject: Re: PATCH: Enable QEMU booting of blktap disks Date: Thu, 19 Jul 2007 10:34:12 -0700 Message-ID: References: <20070719170922.GE26669@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20070719170922.GE26669@redhat.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Daniel P. Berrange" Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org So two comments on this: In the other thread that's currently going on this topic, it sounds like others are quite successfully using the phantom code. Why is it broken for you? As I've said before, I dislike the idea of having separate implementations of disks -- one in qemu and one in tapdisk. We'd quite like to encourage people to be able to extend virtual block devices in the future, and it seems like your approach is going to force them to do two independent implementations of things. It also leads to complications if you want to add things like caching, shared ramdisks, etc. If phantom is broken, why don't we just fix that? a. On 7/19/07, Daniel P. Berrange wrote: > This is a re-send of previous patches: > > http://lists.xensource.com/archives/html/xen-devel/2007-06/msg01021.html > > The only change is that it explicitly looks for the driver type in xenstore > rather than assuming 'xvd' == 'tap' - this is because tap could be configured > with 'hd' or 'sd' nodenames too, and we still need to strip the leading > ':aio' or ':vmdk', etc prefix from the path. > > There are two patches: > > - xen-revert-phantom-2.patch removes the phantom device code since it > doesn't work & is redundant if QEMU can process tap devices straight > from xenstore > > - xen-qemu-blktap-2.patch makes QEMU able to handle disks with xvd prefix > treating them as IDE. Also makes QEMU strip the driver type prefix from > tap disks since it can auto-guess driver > > > Signed-off-by: Daniel P. Berrange > > Dan. > -- > |=- 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 -=| > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > > >