qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH 2/8] virtio-console: qdev conversion, new virtio


From: Gerd Hoffmann
Subject: [Qemu-devel] Re: [PATCH 2/8] virtio-console: qdev conversion, new virtio-serial-bus
Date: Tue, 05 Jan 2010 10:27:19 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20090922 Fedora/3.0-3.9.b4.fc12 Lightning/1.0pre Thunderbird/3.0b4

  Hi,

+/* Guest wants to notify us of some event */
+static void handle_control_message(VirtIOSerial *vser, void *buf)
+{

+    cpkt->event = le16_to_cpu(cpkt->event);
+    cpkt->value = le16_to_cpu(cpkt->value);

Does this modify guest memory?

+        DEFINE_PROP_UINT8("is_console", VirtConsole, port.is_console, 1),

virtser_bus_dev_print() prints this. Properties are printed by "info qtree" anyway, so you can drop that from virtser_bus_dev_print ...

cheers,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]