[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 4/4] xen: Fix PV-on-HVM
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 4/4] xen: Fix PV-on-HVM |
Date: |
Wed, 16 May 2012 10:42:56 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 |
Il 16/05/2012 10:13, Michael S. Tsirkin ha scritto:
> On Wed, May 16, 2012 at 10:06:25AM +0200, Paolo Bonzini wrote:
>> On Xen the PV drivers can ask the firmware to surprise-remove the
>> emulated NICs.
>
> So driver tells firmware (meaning acpi? how?) that it's ok
> to do surprize removal?
It writes something to some I/O port, and then QEMU surprise-removes the
NICs.
>> Of course it has to do it early enough so that the guest
>> doesn't crash.
>
> What does early enough mean and how do we ensure that?
Early enough means that the I/O port is written very early in the boot
process, even before the PCI bus is scanned by the OS.
You don't ensure it, it's up to the OS. The OS knows whether its
drivers can cope properly with surprise removal. If they can, in
principle it could write the magic value whenever it wants to.
Paolo
- [Qemu-devel] [PATCH 1.1 0/4] Xen: Fix PV-on-HVM, Anthony PERARD, 2012/05/15
- [Qemu-devel] [PATCH 2/4] qdev: Introduce qdev_force_unplug., Anthony PERARD, 2012/05/15
- [Qemu-devel] [PATCH 4/4] xen: Fix PV-on-HVM, Anthony PERARD, 2012/05/15
- Re: [Qemu-devel] [PATCH 4/4] xen: Fix PV-on-HVM, Michael S. Tsirkin, 2012/05/15
- Re: [Qemu-devel] [PATCH 4/4] xen: Fix PV-on-HVM, Paolo Bonzini, 2012/05/16
- Re: [Qemu-devel] [PATCH 4/4] xen: Fix PV-on-HVM, Michael S. Tsirkin, 2012/05/16
- Re: [Qemu-devel] [PATCH 4/4] xen: Fix PV-on-HVM,
Paolo Bonzini <=
- Re: [Qemu-devel] [PATCH 4/4] xen: Fix PV-on-HVM, Stefano Stabellini, 2012/05/16
- Re: [Qemu-devel] [PATCH 4/4] xen: Fix PV-on-HVM, Michael S. Tsirkin, 2012/05/16
- Re: [Qemu-devel] [PATCH 4/4] xen: Fix PV-on-HVM, Stefano Stabellini, 2012/05/16
- Re: [Qemu-devel] [PATCH 4/4] xen: Fix PV-on-HVM, Michael S. Tsirkin, 2012/05/16
[Qemu-devel] [PATCH 1/4] Introduce a new hotplug state: Force eject., Anthony PERARD, 2012/05/15