qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gleb Natapov <gleb@redhat.com>
To: Hu Tao <hutao@cn.fujitsu.com>
Cc: Peter Maydell <peter.maydell@linaro.org>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	Jan Kiszka <jan.kiszka@siemens.com>,
	seabios@seabios.org, qemu-devel <qemu-devel@nongnu.org>,
	Markus Armbruster <armbru@redhat.com>,
	Blue Swirl <blauwirbel@gmail.com>,
	Orit Wasserman <owasserm@redhat.com>,
	Juan Quintela <quintela@redhat.com>,
	Alexander Graf <agraf@suse.de>,
	Christian Borntraeger <borntraeger@de.ibm.com>,
	Andrew Jones <drjones@redhat.com>,
	Alex Williamson <alex.williamson@redhat.com>,
	Sasha Levin <levinsasha928@gmail.com>,
	Stefan Hajnoczi <stefanha@redhat.com>,
	Luiz Capitulino <lcapitulino@redhat.com>,
	KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>,
	Kevin Wolf <kwolf@redhat.com>,
	Anthony Liguori <aliguori@us.ibm.com>,
	Marcelo Tosatti <mtosatti@redhat.com>,
	Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: [Qemu-devel] [PATCH] Add pvevent device driver
Date: Thu, 14 Mar 2013 11:37:11 +0200	[thread overview]
Message-ID: <20130314093711.GF11223@redhat.com> (raw)
In-Reply-To: <20130314093319.GD20796@localhost.localdomain>

On Thu, Mar 14, 2013 at 05:33:19PM +0800, Hu Tao wrote:
> On Thu, Mar 14, 2013 at 10:57:18AM +0200, Gleb Natapov wrote:
> > On Thu, Mar 14, 2013 at 04:48:47PM +0800, Hu Tao wrote:
> > > pvevent device is used to notify host(qemu) when guest panic
> > > happens.
> > > 
> > > ref: http://lists.nongnu.org/archive/html/qemu-devel/2013-03/msg02293.html
> > > 
> > > Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
> > > ---
> > >  src/acpi-dsdt-isa.dsl | 30 ++++++++++++++++++++++++++++++
> > >  1 file changed, 30 insertions(+)
> > > 
> > > diff --git a/src/acpi-dsdt-isa.dsl b/src/acpi-dsdt-isa.dsl
> > > index 23761db..d083245 100644
> > > --- a/src/acpi-dsdt-isa.dsl
> > > +++ b/src/acpi-dsdt-isa.dsl
> > > @@ -99,4 +99,34 @@ Scope(\_SB.PCI0.ISA) {
> > >              IRQNoFlags() { 3 }
> > >          })
> > >      }
> > > +
> > > +    Device(PEVT) {
> > > +        Name(_HID, "MSFT0001")
> > We cannot use MSFT!
> 
> OK, I see now, we have to use QEMU0001 or like. More question: if I
> request ACPI ID: QEMU  from pnpid@microsoft.com, who should be CCed,
> Anthony, qemu-list or any others?
> 
Cannot really answer that. I do not think mailing list should be
included. My be Anthony should request the ID on behalf of QEMU project.

> 
> > 
> > > +        OperationRegion(PEOR, SystemIO, 0x0505, 0x01)
> > IO port should be received form QEMU by fw_cfg and patched here at run time.
> 
> If I'm right, io port can be passed to seabios through fw_cfg file
> interface, but I'm still figuring out how to patch DSDT here and below at
> run time.  Maybe build_ssdt() is close to this.
> 
Yes, we already are doing similar things in build_ssdt().

--
			Gleb.

  reply	other threads:[~2013-03-14  9:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-14  8:48 [Qemu-devel] [PATCH] Add pvevent device driver Hu Tao
2013-03-14  8:57 ` Gleb Natapov
2013-03-14  9:33   ` Hu Tao
2013-03-14  9:37     ` Gleb Natapov [this message]
2013-03-14 10:08   ` [Qemu-devel] [SeaBIOS] " David Woodhouse
2013-03-14 10:11     ` Gleb Natapov
2013-03-14  9:15 ` [Qemu-devel] " Paolo Bonzini
2013-03-14  9:17   ` Gleb Natapov

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=20130314093711.GF11223@redhat.com \
    --to=gleb@redhat.com \
    --cc=agraf@suse.de \
    --cc=alex.williamson@redhat.com \
    --cc=aliguori@us.ibm.com \
    --cc=armbru@redhat.com \
    --cc=blauwirbel@gmail.com \
    --cc=borntraeger@de.ibm.com \
    --cc=drjones@redhat.com \
    --cc=hutao@cn.fujitsu.com \
    --cc=jan.kiszka@siemens.com \
    --cc=kamezawa.hiroyu@jp.fujitsu.com \
    --cc=kwolf@redhat.com \
    --cc=lcapitulino@redhat.com \
    --cc=levinsasha928@gmail.com \
    --cc=mst@redhat.com \
    --cc=mtosatti@redhat.com \
    --cc=owasserm@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=quintela@redhat.com \
    --cc=seabios@seabios.org \
    --cc=stefanha@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).