All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: Daniel Castro <evil.dani@gmail.com>,
	Keir Fraser <keir.xen@gmail.com>,
	"seabios@seabios.org" <seabios@seabios.org>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: Ideas for PV on SeaBIOS
Date: Sat, 21 May 2011 09:39:06 +0200	[thread overview]
Message-ID: <4DD76C1A.6030203@redhat.com> (raw)
In-Reply-To: <1305792117.20907.157.camel@zakaz.uk.xensource.com>

On 05/19/2011 10:01 AM, Ian Campbell wrote:
> We had a bit of a brainstorm yesterday and someone suggested that
> perhaps qemu could deal with it when it sees the I/O ports for the
> emulated device unplug get hit.

You could imagine doing the unplug even under an OS that uses INT 13h. 
PV drivers also aren't forced to do the unplug: RHEL5 guests (up to 5.7 
at least) use blacklisting, and the Red Hat PV drivers for Windows use a 
filter driver because I never got the unplug to work.

If SeaBIOS is guaranteed to never reinitialize the callback via, 
trapping writes to HVM_PARAM_CALLBACK_IRQ with an SMI-like effect sounds 
like the way to go, as everybody probably agrees at this point.  You 
could also initate the shutdown from dom0, which you could easily do via 
ACPI even. ;)

STORE_PFN and STORE_EVTCHN parameters are usually written only by dom0 
(in fact perhaps setting them could be made a privileged operation), 
which makes them less ideal.

Paolo

  reply	other threads:[~2011-05-21  7:39 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-19  5:33 Ideas for PV on SeaBIOS Daniel Castro
2011-05-19  7:19 ` Keir Fraser
2011-05-19  8:01   ` [Xen-devel] " Ian Campbell
2011-05-21  7:39     ` Paolo Bonzini [this message]
2011-05-21  8:44       ` James Harper
2011-05-23  9:23         ` [Xen-devel] " Ian Campbell
2011-05-23 10:20           ` James Harper
2011-05-23 10:23             ` Ian Campbell
2011-05-19  7:44 ` James Harper
2011-05-19  8:08 ` Jan Beulich
2011-05-19  8:17   ` Juergen Gross
2011-05-19  8:20   ` Tim Deegan
2011-05-19  9:36     ` Ian Campbell
2011-05-19 15:02       ` Keir Fraser
2011-05-19 17:00       ` Ideas for PV on SeaBIOS - flush/barrier in QEMU Konrad Rzeszutek Wilk
2011-05-19  9:32   ` Ideas for PV on SeaBIOS James Harper
2011-05-21 13:38   ` [SeaBIOS] " Kevin O'Connor
2011-05-21 13:29 ` Kevin O'Connor
2011-05-23  5:24   ` Stefan Hajnoczi
2011-05-23  9:50     ` Ian Campbell

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=4DD76C1A.6030203@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=evil.dani@gmail.com \
    --cc=keir.xen@gmail.com \
    --cc=seabios@seabios.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.