From: "KONRAD Frédéric" <fred.konrad@greensocs.com>
To: Cornelia Huck <cornelia.huck@de.ibm.com>
Cc: Amit Shah <amit.shah@redhat.com>,
peter.maydell@linaro.org, aliguori@us.ibm.com,
mark.burton@greensocs.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v4 1/7] virtio-serial: add the virtio-serial device.
Date: Thu, 04 Apr 2013 15:54:28 +0200 [thread overview]
Message-ID: <515D8614.4040301@greensocs.com> (raw)
In-Reply-To: <20130403085357.2d571f86@gondolin>
On 03/04/2013 08:53, Cornelia Huck wrote:
> On Fri, 29 Mar 2013 10:02:38 +0100
> fred.konrad@greensocs.com wrote:
>
>> From: KONRAD Frederic <fred.konrad@greensocs.com>
>>
>> Create virtio-serial which extends virtio-device, so it can be connected
>> on virtio-bus.
>>
>> Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
>> ---
>> hw/virtio-pci.c | 2 +-
>> hw/virtio-serial-bus.c | 95 ++++++++++++++++++++++++++++++++++++++++++++++----
>> hw/virtio-serial.h | 9 +++++
>> 3 files changed, 98 insertions(+), 8 deletions(-)
>>
>> diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c
>> index fb20722..6db67bf 100644
>> --- a/hw/virtio-pci.c
>> +++ b/hw/virtio-pci.c
>> @@ -1075,7 +1075,7 @@ static Property virtio_serial_properties[] = {
>> DEFINE_PROP_UINT32("vectors", VirtIOPCIProxy, nvectors, 2),
>> DEFINE_PROP_HEX32("class", VirtIOPCIProxy, class_code, 0),
>> DEFINE_VIRTIO_COMMON_FEATURES(VirtIOPCIProxy, host_features),
>> - DEFINE_PROP_UINT32("max_ports", VirtIOPCIProxy, serial.max_virtserial_ports, 31),
>> + DEFINE_VIRTIO_SERIAL_PROPERTIES(VirtIOPCIProxy, serial),
>> DEFINE_PROP_END_OF_LIST(),
>> };
>>
> Any reason why you convert only virtio-pci to the new define?
> s390-virtio and virtio-ccw could use it as well.
>
>
No reason, I'll make the change thanks.
Fred
next prev parent reply other threads:[~2013-04-04 13:54 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-29 9:02 [Qemu-devel] [PATCH v4 0/7] virtio-serial refactoring fred.konrad
2013-03-29 9:02 ` [Qemu-devel] [PATCH v4 1/7] virtio-serial: add the virtio-serial device fred.konrad
2013-04-03 6:53 ` Cornelia Huck
2013-04-04 13:54 ` KONRAD Frédéric [this message]
2013-03-29 9:02 ` [Qemu-devel] [PATCH v4 2/7] virtio-serial-pci: switch to the new API fred.konrad
2013-04-03 9:18 ` Amit Shah
2013-04-03 9:25 ` Peter Maydell
2013-03-29 9:02 ` [Qemu-devel] [PATCH v4 3/7] virtio-serial-s390: " fred.konrad
2013-03-29 9:02 ` [Qemu-devel] [PATCH v4 4/7] virtio-serial-ccw: " fred.konrad
2013-03-29 9:02 ` [Qemu-devel] [PATCH v4 5/7] virtio-serial: cleanup: init and exit functions fred.konrad
2013-03-29 9:02 ` [Qemu-devel] [PATCH v4 6/7] virtio-serial: cleanup: use QOM casts fred.konrad
2013-03-29 9:02 ` [Qemu-devel] [PATCH v4 7/7] virtio-serial: cleanup: remove qdev field fred.konrad
2013-04-02 12:03 ` [Qemu-devel] [PATCH v4 0/7] virtio-serial refactoring Peter Maydell
2013-04-02 13:13 ` Anthony Liguori
2013-04-03 6:55 ` Cornelia Huck
2013-04-03 9:27 ` Amit Shah
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=515D8614.4040301@greensocs.com \
--to=fred.konrad@greensocs.com \
--cc=aliguori@us.ibm.com \
--cc=amit.shah@redhat.com \
--cc=cornelia.huck@de.ibm.com \
--cc=mark.burton@greensocs.com \
--cc=peter.maydell@linaro.org \
--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).