Skip to contentSkip to conversation

virtio-serial qom'ification fix

GIT PULL Applied Amit Shah 2 participants 3 messages Jan 13, 2016 – Jan 14, 2016

lore
Share & tools
lore

Amit Shah

author
#0 lore raw

The following changes since commit 649a1bbaf95adb228f1030ab0618a932bc26aa8b:

Merge remote-tracking branch 'remotes/kvaneesh/tags/for-upstream-signed' into staging (2016-01-12 17:37:22 +0000)

are available in the git repository at:

https://git.kernel.org/pub/scm/virt/qemu/amit/virtio-serial.git tags/vs-for-2.6-1

for you to fetch changes up to d9eb0be229635a8c625a0a3d29d2d88aba1508a5:

virtio serial port: fix to incomplete QOMify (2016-01-13 15:19:51 +0530)

----------------------------------------------------------------
small change to qom'ify virtio-serial

----------------------------------------------------------------

Cao jin (1):
virtio serial port: fix to incomplete QOMify

 hw/char/virtio-serial-bus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.5.0
author
#1 lore raw

[Qemu-devel] [PULL 1/1] virtio serial port: fix to incomplete QOMify

From: Cao jin <[email protected]>

Message-Id: <[email protected]>

---
 hw/char/virtio-serial-bus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/char/virtio-serial-bus.c +1 -1
index 497b0af..2d2a659 100644
@@ -798,7 +798,7 @@ static const TypeInfo virtser_bus_info = {
 
 static void virtser_bus_dev_print(Monitor *mon, DeviceState *qdev, int indent)
 {
-    VirtIOSerialPort *port = DO_UPCAST(VirtIOSerialPort, dev, qdev);
+    VirtIOSerialPort *port = VIRTIO_SERIAL_PORT(qdev);
 
     monitor_printf(mon, "%*sport %d, guest %s, host %s, throttle %s\n",
                    indent, "", port->id,
Signature · 1 line
2.5.0
#2 lore raw
In reply to Amit Shah
Quoted 8 lines · Amit Shah

The following changes since commit 649a1bbaf95adb228f1030ab0618a932bc26aa8b:

Merge remote-tracking branch 'remotes/kvaneesh/tags/for-upstream-signed' into staging (2016-01-12 17:37:22 +0000)

are available in the git repository at:

https://git.kernel.org/pub/scm/virt/qemu/amit/virtio-serial.git tags/vs-for-2.6-1

Quoted 8 lines

for you to fetch changes up to d9eb0be229635a8c625a0a3d29d2d88aba1508a5:

virtio serial port: fix to incomplete QOMify (2016-01-13 15:19:51 +0530)

----------------------------------------------------------------
small change to qom'ify virtio-serial

----------------------------------------------------------------

Applied, thanks.

-- PMM