From: Julien Grall <julien.grall@citrix.com>
To: "Jason Baron" <jbaron@redhat.com>, "Andreas Färber" <afaerber@suse.de>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
"jan.kiszka@siemens.com" <jan.kiszka@siemens.com>,
"kraxel@redhat.com" <kraxel@redhat.com>,
"avi@redhat.com" <avi@redhat.com>,
Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>
Subject: Re: [Qemu-devel] [PATCH V10 2/8] hw/apm.c: replace register_ioport*
Date: Mon, 3 Dec 2012 16:29:26 +0000 [thread overview]
Message-ID: <50BCD366.9060705@citrix.com> (raw)
In-Reply-To: <20121127204604.GE2425@redhat.com>
On 11/27/2012 08:46 PM, Jason Baron wrote:
> On Tue, Nov 27, 2012 at 01:10:16AM +0100, Andreas Färber wrote:
>> Am 19.09.2012 13:50, schrieb Julien Grall:
>>> This patch replaces all register_ioport* by a MemorySection.
>>> It permits to use the new Memory stuff like listener.
>>>
>>> Moreover, the PCI is added as an argument for apm_init, so we
>>> can register IO inside the pci IO address space.
>>>
>>> Signed-off-by: Julien Grall <julien.grall@citrix.com>
>>
>> Following today's q35 merge I needed the following diff to fix the build:
>>
>> diff --git a/hw/lpc_ich9.c b/hw/lpc_ich9.c
>> index 2fc83a4..7de5427 100644
>> --- a/hw/lpc_ich9.c
>> +++ b/hw/lpc_ich9.c
>> @@ -472,7 +472,7 @@ static int ich9_lpc_initfn(PCIDevice *d)
>> lpc->isa_bus = isa_bus;
>>
>> ich9_cc_init(lpc);
>> - apm_init(&lpc->apm, ich9_apm_ctrl_changed, lpc);
>> + apm_init(d, &lpc->apm, ich9_apm_ctrl_changed, lpc);
>> return 0;
>> }
>>
>> Julien/Jason, can you please verify that this is the correct device to pass?
>>
>
> Looks correct to me.
It's ok for me.
Thanks,
Julien
next prev parent reply other threads:[~2012-12-03 16:37 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-19 11:50 [Qemu-devel] [PATCH V10 0/8] memory: unify ioport registration Julien Grall
2012-09-19 11:50 ` [Qemu-devel] [PATCH V10 1/8] isa: add isa_address_space_io Julien Grall
2012-11-25 12:39 ` Andreas Färber
2012-09-19 11:50 ` [Qemu-devel] [PATCH V10 2/8] hw/apm.c: replace register_ioport* Julien Grall
2012-11-25 12:51 ` Andreas Färber
2012-11-27 0:10 ` Andreas Färber
2012-11-27 20:46 ` Jason Baron
2012-12-03 16:29 ` Julien Grall [this message]
2012-09-19 11:50 ` [Qemu-devel] [PATCH V10 3/8] smb: replace_register_ioport* Julien Grall
2012-09-19 11:50 ` [Qemu-devel] [PATCH V10 4/8] hw/acpi_piix4.c: replace register_ioport* Julien Grall
2012-09-19 11:50 ` [Qemu-devel] [PATCH V10 5/8] hw/cirrus_vga.c: " Julien Grall
2012-09-19 11:50 ` [Qemu-devel] [PATCH V10 6/8] hw/serial.c: " Julien Grall
2012-09-19 11:50 ` [Qemu-devel] [PATCH V10 7/8] hw/pc.c: " Julien Grall
2012-09-19 11:50 ` [Qemu-devel] [PATCH V10 8/8] hw/dma.c: " Julien Grall
2012-10-08 16:53 ` [Qemu-devel] [PATCH V10 0/8] memory: unify ioport registration Julien Grall
2012-11-24 1:09 ` Julien Grall
2012-11-25 9:10 ` Avi Kivity
2012-11-25 9:10 ` Avi Kivity
2012-11-25 12:42 ` Andreas Färber
2012-11-25 12:44 ` Avi Kivity
2012-11-25 15:01 ` Andreas Färber
2012-11-25 15:40 ` Avi Kivity
2012-11-25 16:00 ` Jan Kiszka
2012-11-25 22:33 ` Julien Grall
2012-11-26 14:25 ` Gerd Hoffmann
2012-11-27 1:14 ` Andreas Färber
2012-11-30 16:28 ` Julien Grall
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=50BCD366.9060705@citrix.com \
--to=julien.grall@citrix.com \
--cc=Stefano.Stabellini@eu.citrix.com \
--cc=afaerber@suse.de \
--cc=avi@redhat.com \
--cc=jan.kiszka@siemens.com \
--cc=jbaron@redhat.com \
--cc=kraxel@redhat.com \
--cc=qemu-devel@nongnu.org \
/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).