All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steven Smith <sos22-xen@srcf.ucam.org>
To: Ross Maxfield <rmaxfiel@novell.com>
Cc: xen-devel@lists.xensource.com, sos22@srcf.ucam.org
Subject: Re: RFC -  PV blk driver for hvm guest
Date: Sun, 1 Oct 2006 18:42:29 +0100	[thread overview]
Message-ID: <20061001174229.GA11417@cam.ac.uk> (raw)
In-Reply-To: <451A9B2E.DD28.00D3.0@novell.com>


[-- Attachment #1.1: Type: text/plain, Size: 1984 bytes --]

> My testing of the the PV blk driver was first done by creating a
> second blk device in the 'disk='' line of the config file.  I could
> not use the PV driver for the first device because the guest's ide
> driver lays claim on hda before the PV driver is loaded.  In an
> attempt to get the guest to come up entirely on the PV drivers I
> modified qemu's ide.c to make the emulated device incompatible with
> the native IDE driver.  This allows the PV driver to create hda and
> the OS came up just fine.  (I had also rebuilt the guest's initrd to
> include and load the PV drivers, of course.)
And the bootloader coped with this without any objections?  I suppose
they'd mostly be using BIOS services, and I could well believe our
BIOS doesn't actually bother to check the PCI device ids before going
at the IDE controller.

> Having proved to myself that the guest can come up on PV drivers
> alone, I returned to the issue of qemu always creating the IDE
> device in the emulated PCI config space as opposed to the nic
> support which creates a PCI entry programmatically.  I see that
> currently in the config one can indicate 'ioemu:' as an attribute of
> the 'dev' in the 'disk=' line.  This attribute, however, is ignored
> in blkif.py and the IDE entry is created anyway.  The 'vif=' line
> uses the token 'type=' to indicate that the nic device is emulated
> by qemu by setting the type equal to 'ioemu', the default being that
> the quest's LAN is supported by netback.  The parsers for the
> 'disk=' line do not look for the 'type=' token.
I don't think there are any firm plans for how to handle this at the
moment, and it's certainly not going to happen for a little while
3.0.3 gets ready.  There was a suggestion at one point of having both
types of device present in every domain and then trying to unplug the
ioemu ones if we find that we have PV drivers available, but it's not
obvious that we'd always be able to get in early enough in the boot
process.

Steven.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

  parent reply	other threads:[~2006-10-01 17:42 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-20 19:21 [PATCH] [XEND] Remove hard tabs Hollis Blanchard
2006-09-21  5:58 ` Molle Bestefich
2006-09-21 20:28   ` Hollis Blanchard
2006-09-24 10:50     ` Molle Bestefich
2006-09-25 16:38       ` Hollis Blanchard
2006-09-26 15:34         ` Anthony Liguori
2006-09-25 17:07       ` Sean Dague
2006-09-27 14:07         ` Steven Rostedt
2006-09-27 21:43           ` RFC - PV blk driver for hvm guest Ross Maxfield
2006-09-27 22:26             ` Dom0 hang problem Subrahmanian, Raj
2006-09-27 22:44               ` Ian Pratt
2006-10-01 17:42             ` Steven Smith [this message]
     [not found]               ` <45223DA0.DD28.00D3.0@novell.com>
2006-10-07  9:53                 ` RFC - PV blk driver for hvm guest Steven Smith
2006-09-22  2:36   ` [PATCH] [XEND] Remove hard tabs Dan Smith
2006-10-12 16:33   ` Mark Williamson
2006-09-22 16:36 ` Alastair Tse

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=20061001174229.GA11417@cam.ac.uk \
    --to=sos22-xen@srcf.ucam.org \
    --cc=rmaxfiel@novell.com \
    --cc=sos22@srcf.ucam.org \
    --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.