From: "KONRAD Frédéric" <fred.konrad@greensocs.com>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: cornelia.huck@de.ibm.com, peter.maydell@linaro.org,
mark.burton@greensocs.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v5 0/7] virtio-serial refactoring.
Date: Mon, 08 Apr 2013 19:00:25 +0200 [thread overview]
Message-ID: <5162F7A9.2040000@greensocs.com> (raw)
In-Reply-To: <87mwtdgfb9.fsf@codemonkey.ws>
On 05/04/2013 17:36, Anthony Liguori wrote:
> fred.konrad@greensocs.com writes:
>
>> From: KONRAD Frederic <fred.konrad@greensocs.com>
>>
>> This is the next part of virtio-refactoring.
>>
>> Basically it creates virtio-serial device which extends virtio-device.
>> Then a virtio-serial can be connected on a virtio-bus.
>> virtio-serial-pci, virtio-serial-s390 and virtio-serial-ccw are created too,
>> they extend respectively virtio-pci, virtio-s390-device, virtio-ccw-device and
>> have a virtio-serial.
>>
>> You can checkout my branch here:
>>
>> git://project.greensocs.com/qemu-virtio.git virtio-serial-v5
>>
>> Note that it is nearly the same series as virtio-blk and virtio-scsi
>> refactoring.
> /home/aliguori/build/qemu/x86_64-softmmu/qemu-system-x86_64 -kernel /usr/local/share/qemu-jeos/kernel-x86_64-pc -initrd .tmp-11584/initramfs-11584.img.gz -device isa-debug-exit -append console=ttyS0 seed=42872 -nographic -enable-kvm -hda .tmp-11584/disk-11584.img -M pc-0.13 -drive file=.tmp-11584/disk-11584.img,if=virtio,snapshot=on -device virtio-balloon-pci -device virtio-serial -net nic,model=virtio -net user -pidfile .tmp-11584/pidfile-11584.pid -qmp unix:.tmp-11584/qmpsock-11584.sock,server,nowait
> qemu-system-x86_64: -device virtio-serial: No 'virtio-bus' bus found for
> device 'virtio-serial'
>
> I think we need to go back and name the devices 'virtio-serial-device'
> et al to avoid breaking aliases.
>
> Regards,
>
> Anthony Liguori
Hi Anthony,
I'm making a patch for that, and I'm wondering if the name in
register_savevm must be changed too?
eg for virtio-balloon:
- register_savevm(qdev, "virtio-balloon", -1, 1,
+ register_savevm(qdev, TYPE_VIRTIO_BALLOON, -1, 1,
virtio_balloon_save, virtio_balloon_load, s);
with TYPE_VIRTIO_BALLOON "virtio-balloon-device"?
Thanks,
Fred
next prev parent reply other threads:[~2013-04-08 17:00 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-04 14:28 [Qemu-devel] [PATCH v5 0/7] virtio-serial refactoring fred.konrad
2013-04-04 14:28 ` [Qemu-devel] [PATCH v5 1/7] virtio-serial: add the virtio-serial device fred.konrad
2013-04-04 14:29 ` [Qemu-devel] [PATCH v5 2/7] virtio-serial-pci: switch to the new API fred.konrad
2013-04-04 14:29 ` [Qemu-devel] [PATCH v5 3/7] virtio-serial-s390: " fred.konrad
2013-04-04 14:29 ` [Qemu-devel] [PATCH v5 4/7] virtio-serial-ccw: " fred.konrad
2013-04-04 14:29 ` [Qemu-devel] [PATCH v5 5/7] virtio-serial: cleanup: init and exit functions fred.konrad
2013-04-04 14:29 ` [Qemu-devel] [PATCH v5 6/7] virtio-serial: cleanup: use QOM casts fred.konrad
2013-04-04 14:29 ` [Qemu-devel] [PATCH v5 7/7] virtio-serial: cleanup: remove qdev field fred.konrad
2013-04-04 14:45 ` [Qemu-devel] [PATCH v5 0/7] virtio-serial refactoring Cornelia Huck
2013-04-04 17:16 ` Peter Maydell
2013-04-05 15:36 ` Anthony Liguori
2013-04-08 17:00 ` KONRAD Frédéric [this message]
2013-04-08 17:03 ` Peter Maydell
2013-04-08 17:14 ` KONRAD Frédéric
2013-04-08 17:16 ` Peter Maydell
2013-04-08 21:58 ` KONRAD Frédéric
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=5162F7A9.2040000@greensocs.com \
--to=fred.konrad@greensocs.com \
--cc=aliguori@us.ibm.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 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.