[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [Xen-devel] Question about xen disk unplug support for
From: |
Kevin O'Connor |
Subject: |
Re: [Qemu-devel] [Xen-devel] Question about xen disk unplug support for ahci missed in qemu |
Date: |
Fri, 16 Oct 2015 09:03:25 -0400 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Fri, Oct 16, 2015 at 10:06:48AM +0100, Stefano Stabellini wrote:
> On Thu, 15 Oct 2015, Kevin O'Connor wrote:
> > What's the reason for the "stumbling block" that requires the BIOS to
> > tear down the Xen ring prior to the OS being able to replace it? The
> > BIOS disk calls are all synchronous, so the ring wont be active when
> > the OS brings up its own ring. Is there some low-level interaction
> > that prevents the OS from just resetting the ring prior to enabling
> > it?
>
> Xen only exports one PV disk interface for each disk to the guest, and
> each PV interface only supports one frontend -- only SeaBIOS or the OS
> can be connected to one PV disk, not both. In the case of OVMF, we
> handle that by disconnecting the PV frontend in OVMF when
> ExitBootServices is called, so that the OS driver can reconnect later.
Well, there isn't a requirement for both SeaBIOS and the OS to be
connected at the same time - it's fine for the OS to replace SeaBIOS.
With the hardware I'm familiar with (eg, usb, ahci, virtio) the OS
just ends up replacing SeaBIOS' DMA rings when it configures its own.
I guess something in the low-level interface of Xen makes that not
work.
Is plugging/unplugging very high overhead? Since the SeaBIOS disk
interface is fully synchronous, in theory one could have it
plug/unplug on every read request.
-Kevin
- Re: [Qemu-devel] Question about xen disk unplug support for ahci missed in qemu, (continued)
- Re: [Qemu-devel] Question about xen disk unplug support for ahci missed in qemu, Stefano Stabellini, 2015/10/13
- Re: [Qemu-devel] Question about xen disk unplug support for ahci missed in qemu, Kevin Wolf, 2015/10/14
- Re: [Qemu-devel] Question about xen disk unplug support for ahci missed in qemu, Stefano Stabellini, 2015/10/14
- Re: [Qemu-devel] [Xen-devel] Question about xen disk unplug support for ahci missed in qemu, Ian Campbell, 2015/10/14
- Re: [Qemu-devel] [Xen-devel] Question about xen disk unplug support for ahci missed in qemu, Laszlo Ersek, 2015/10/15
- Re: [Qemu-devel] [Xen-devel] Question about xen disk unplug support for ahci missed in qemu, Kevin O'Connor, 2015/10/15
- Re: [Qemu-devel] [Xen-devel] Question about xen disk unplug support for ahci missed in qemu, Stefano Stabellini, 2015/10/16
- Re: [Qemu-devel] [Xen-devel] Question about xen disk unplug support for ahci missed in qemu, Laszlo Ersek, 2015/10/16
- Re: [Qemu-devel] [Xen-devel] Question about xen disk unplug support for ahci missed in qemu, Stefano Stabellini, 2015/10/16
- Re: [Qemu-devel] [Xen-devel] Question about xen disk unplug support for ahci missed in qemu, Ian Campbell, 2015/10/16
- Re: [Qemu-devel] [Xen-devel] Question about xen disk unplug support for ahci missed in qemu,
Kevin O'Connor <=
- Re: [Qemu-devel] [Xen-devel] Question about xen disk unplug support for ahci missed in qemu, Laszlo Ersek, 2015/10/16
- Re: [Qemu-devel] Question about xen disk unplug support for ahci missed in qemu, Kevin Wolf, 2015/10/14
- Re: [Qemu-devel] Question about xen disk unplug support for ahci missed in qemu, Stefano Stabellini, 2015/10/15
- Re: [Qemu-devel] Question about xen disk unplug support for ahci missed in qemu, Fabio Fantoni, 2015/10/15
- Re: [Qemu-devel] Question about xen disk unplug support for ahci missed in qemu, Anthony PERARD, 2015/10/15
- Re: [Qemu-devel] Question about xen disk unplug support for ahci missed in qemu, Fabio Fantoni, 2015/10/16
- Re: [Qemu-devel] Question about xen disk unplug support for ahci missed in qemu, Anthony PERARD, 2015/10/16
- Re: [Qemu-devel] Question about xen disk unplug support for ahci missed in qemu, Fabio Fantoni, 2015/10/16
- Re: [Qemu-devel] Question about xen disk unplug support for ahci missed in qemu, Stefano Stabellini, 2015/10/16
- Re: [Qemu-devel] Question about xen disk unplug support for ahci missed in qemu, Fabio Fantoni, 2015/10/16