qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 2/2] all vga: fail graicefully when vga ports ar


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH 2/2] all vga: fail graicefully when vga ports are taken
Date: Tue, 18 May 2010 14:45:40 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-2.fc12 Thunderbird/3.0.4

On 05/18/10 14:33, Markus Armbruster wrote:
Gerd Hoffmann<address@hidden>  writes:

Try to pci hotplug a vga card, watch qemu die with hw_error().
This patch fixes it.

Looks good.

Are there any other hot-pluggable devices that acquire single-use
resources such as fixed I/O ports?

Any PCI device doing ISA compatibility stuff I'd guess, which makes IDE a candidate. Checking ...

Yes (hw/ide/piix.c):

    ide_init_ioport(&d->bus[0], 0x1f0, 0x3f6);
    ide_init_ioport(&d->bus[1], 0x170, 0x376);

Those are tagged with "no-user" though due to being hard-coded in pc.c, so any attempt to hot-plug one of those should fail way before it attempts to grab the I/O ports.

cheers,
  Gerd



reply via email to

[Prev in Thread] Current Thread [Next in Thread]