All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Alex Bligh <alex@alex.org.uk>
Cc: xen-devel@lists.xensource.com
Subject: Re: PV drivers on HVM using Xen 4.1.1
Date: Thu, 27 Oct 2011 09:35:37 -0400	[thread overview]
Message-ID: <20111027133536.GD2242@phenom.dumpdata.com> (raw)
In-Reply-To: <A853EEFF3A385ED3FA09E5F0@nimrod.local>

On Thu, Oct 27, 2011 at 01:56:41PM +0100, Alex Bligh wrote:
> I think I've found one reason why we can't get PV block drivers on HVM
> domUs working on Xen 4.1.1 - whether we use a pvops or a xenlinux
> domU kernel.
> 
> We are using a line like:
> 
>  disk = [ "tap:aio:/tmp/centos-pvd.img,xvda,w" ]
> 
> We are using effectively a standard 3.0 kernel. Config options including
> the word XEN are below.
> 
> We do not see blktapctrl starting in Xen 4.1.1 dom0, but it does
> start in Xen3. In fact as far as I can tell the Ubuntu Xen4 package
> does not contain blktapctrl at all (which would explain why it doesn't
> start). Do we need this?
> 
> It has been suggested that we don't need this, but we do need a kernel
> module that provides blktap.
> 
>  http://www.vr.org/knowledgebase/1112/Xen-Paravirt-Ops.html
> 
> suggests these might be queued for the non-existent "2.6.40", but
> it's suggested these aren't in 3.0.

Right, they are a no-go. There is a 
> 
>  http://wiki.xensource.com/xenwiki/XAPI_on_debian
> 
> suggests there are dmks modules available, but that blktap is currenly
> only 32 bit. Can that be correct?

There is a 64-bit (and 32-bit) version on Daniel's git tree:

git://xenbits.xensource.com/people/dstodden/linux.git

.. but the deal is that it is unmaintained (Daniel left Citrix).

Thought interestingly .. he made a version of it where all of the fiddling
with the generic code has been removed. Neat.

> 
> Isn't this what blkback does?

Blkback can't handle files - it can only handle block devices.
> 
> domU config is below. Note the very same VM with the same config file
> works just fine on xen 3.3.1. This domU is Centos 2.6.18 with
> unmodified_drivers xenlinux type kernel (as supplied by Centos). Every
> other kernel we've tried does the same, save that modern ones also
> unplug the emulated devices so no disks appear as well.
> 
> PV nics work fine.

  reply	other threads:[~2011-10-27 13:35 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-27 12:56 PV drivers on HVM using Xen 4.1.1 Alex Bligh
2011-10-27 13:35 ` Konrad Rzeszutek Wilk [this message]
2011-10-27 13:44 ` Ian Campbell
2011-10-27 14:04   ` Alex Bligh
2011-10-27 14:10     ` Ian Campbell
2011-10-27 14:16       ` Alex Bligh
2011-10-27 14:19         ` Ian Campbell
2011-10-27 13:54 ` Stefano Stabellini
2011-10-27 14:11   ` Alex Bligh
2011-10-27 14:19     ` Stefano Stabellini
2011-10-27 14:29       ` Ian Campbell
2011-10-27 14:38       ` Alex Bligh
2011-10-27 14:51         ` Stefano Stabellini
2011-10-27 15:01           ` Alex Bligh
2011-10-27 15:16             ` Konrad Rzeszutek Wilk
2011-10-27 14:55         ` Ian Campbell
2011-10-27 14:22     ` Ian Campbell
2011-10-27 14:57 ` Alex Bligh
2011-10-27 15:09   ` Stefan Bader
2011-10-27 16:02     ` Alex Bligh
2011-10-27 15:13   ` Ian Campbell
2011-10-27 16:04     ` Alex Bligh

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=20111027133536.GD2242@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=alex@alex.org.uk \
    --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.