All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] all vga: refuse hotplugging.
Date: Wed, 26 May 2010 13:22:33 +0200	[thread overview]
Message-ID: <4BFD0479.90609@redhat.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1005261150210.25605@kaball-desktop>

On 05/26/10 12:59, Stefano Stabellini wrote:
> On Wed, 26 May 2010, Gerd Hoffmann wrote:
>> Try to pci hotplug a vga card, watch qemu die with hw_error().
>> This patch fixes it.
>>
>
> Do you know the reason why we get hw_error()?

Because the card tries to register the legacy vga ports which are 
already taken by the primary card.  I also don't know whenever you can 
pci hot-plug hardware which uses non-pci ressources at all.

> Theoretically vga hotplug should be possible at least for secondary
> graphic cards (even though I suspect most operating systems wouldn't
> cope).

Yes.  Assuming the virtual hardware in question can actually act as 
secondary, i.e. is fully programmable without the legacy vga ports.  The 
standard vga can't.  The cirrus looks doable, at least you can access 
the vga ports using the mmio bar.

cheers,
   Gerd

  reply	other threads:[~2010-05-26 11:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-26  8:43 [Qemu-devel] [PATCH] all vga: refuse hotplugging Gerd Hoffmann
2010-05-26 10:59 ` Stefano Stabellini
2010-05-26 11:22   ` Gerd Hoffmann [this message]
2010-05-26 11:49     ` Stefano Stabellini
2010-05-26 12:58       ` Gerd Hoffmann
2010-05-26 13:18         ` Stefano Stabellini
2010-05-26 13:39           ` Gerd Hoffmann
2010-05-28 14:21 ` Paul Brook
2010-05-31  8:48   ` Gerd Hoffmann

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=4BFD0479.90609@redhat.com \
    --to=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefano.stabellini@eu.citrix.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.