All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Grall <julien.grall@citrix.com>
To: Avi Kivity <avi@redhat.com>
Cc: Julian Pidancet <julian.pidancet@citrix.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	Anthony Liguori <anthony@codemonkey.ws>,
	Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>
Subject: Re: [Qemu-devel] [PATCH] Memory: unify ioport registration
Date: Wed, 4 Apr 2012 16:55:57 +0100	[thread overview]
Message-ID: <4F7C6F0D.4000203@citrix.com> (raw)
In-Reply-To: <4F7AAC02.6090606@redhat.com>

On 04/03/2012 08:51 AM, Avi Kivity wrote:
> On 04/02/2012 05:37 PM, Julien Grall wrote:
>    
>>       s = g_malloc0(sizeof(SerialState));
>>
>> @@ -820,8 +828,9 @@ SerialState *serial_init(int base, qemu_irq irq, int baudbase,
>>
>>       vmstate_register(NULL, base,&vmstate_serial, s);
>>
>> -    register_ioport_write(base, 8, 1, serial_ioport_write, s);
>> -    register_ioport_read(base, 8, 1, serial_ioport_read, s);
>> +    portio_list_init(serial_port_list, serial_portio_list, s, "serial-io");
>> +    portio_list_add(serial_port_list, get_system_io(), base);
>> +
>>      
> Should we just remove serial_init() and replace it with the serial-isa
> QOM class?
>    
After few researchs, it's seems this function is not used in the
source code. Is that right ?

  parent reply	other threads:[~2012-04-04 15:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-02 14:37 [Qemu-devel] [PATCH] Memory: unify ioport registration Julien Grall
2012-04-03  7:51 ` Avi Kivity
2012-04-03  9:38   ` Julien Grall
2012-04-03 10:09     ` Avi Kivity
2012-04-04 15:55   ` Julien Grall [this message]
2012-04-05  9:58     ` Avi Kivity
2012-04-03  9:34 ` Andreas Färber
2012-04-03 10:11   ` Avi Kivity

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=4F7C6F0D.4000203@citrix.com \
    --to=julien.grall@citrix.com \
    --cc=Stefano.Stabellini@eu.citrix.com \
    --cc=anthony@codemonkey.ws \
    --cc=avi@redhat.com \
    --cc=julian.pidancet@citrix.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 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.