Displaying 12 results from an estimated 12 matches for "virtio_console_resize".
Did you mean:
virtio_console_f_size
2010 May 05
2
[PATCH 0/3] virtio: console: Handle multiple console port resizes
Hello,
This series adds resize support for multiple console ports. The size
for each console is stored in its structure and the host informs the
guest about size changes via the VIRTIO_CONSOLE_RESIZE control
message.
This is easily tested by the qemu patches provided by Kusanagi Kouichi
with some updates, which I will shortly send to the qemu-devel list.
Please apply,
Amit.
Amit Shah (3):
virtio: console: Resize console port 0 on config intr only if
multiport is off
virtio: console...
2010 May 05
2
[PATCH 0/3] virtio: console: Handle multiple console port resizes
Hello,
This series adds resize support for multiple console ports. The size
for each console is stored in its structure and the host informs the
guest about size changes via the VIRTIO_CONSOLE_RESIZE control
message.
This is easily tested by the qemu patches provided by Kusanagi Kouichi
with some updates, which I will shortly send to the qemu-devel list.
Please apply,
Amit.
Amit Shah (3):
virtio: console: Resize console port 0 on config intr only if
multiport is off
virtio: console...
2010 Mar 30
3
[PATCH 4/4] virtio: disable multiport console support.
...}
-
- switch (cpkt->event) {
- case VIRTIO_CONSOLE_CONSOLE_PORT:
- if (!cpkt->value)
- break;
- if (is_console_port(port))
- break;
-
- init_port_console(port);
- /*
- * Could remove the port here in case init fails - but
- * have to notify the host first.
- */
- break;
- case VIRTIO_CONSOLE_RESIZE:
- if (!is_console_port(port))
- break;
- port->cons.hvc->irq_requested = 1;
- resize_console(port);
- break;
- case VIRTIO_CONSOLE_PORT_OPEN:
- port->host_connected = cpkt->value;
- wake_up_interruptible(&port->waitqueue);
- break;
- case VIRTIO_CONSOLE_PORT_NAME:
- /*...
2010 Mar 30
3
[PATCH 4/4] virtio: disable multiport console support.
...}
-
- switch (cpkt->event) {
- case VIRTIO_CONSOLE_CONSOLE_PORT:
- if (!cpkt->value)
- break;
- if (is_console_port(port))
- break;
-
- init_port_console(port);
- /*
- * Could remove the port here in case init fails - but
- * have to notify the host first.
- */
- break;
- case VIRTIO_CONSOLE_RESIZE:
- if (!is_console_port(port))
- break;
- port->cons.hvc->irq_requested = 1;
- resize_console(port);
- break;
- case VIRTIO_CONSOLE_PORT_OPEN:
- port->host_connected = cpkt->value;
- wake_up_interruptible(&port->waitqueue);
- break;
- case VIRTIO_CONSOLE_PORT_NAME:
- /*...
2010 Apr 16
0
Update virtio spec with new virtio console ABI information
...out Plain Layout
+\change_deleted 0 1271400377
+
#define VIRTIO_CONSOLE_PORT_READY 0
\end_layout
\begin_layout Plain Layout
+\change_deleted 0 1271400377
+
#define VIRTIO_CONSOLE_CONSOLE_PORT 1
\end_layout
\begin_layout Plain Layout
+\change_deleted 0 1271400377
+
#define VIRTIO_CONSOLE_RESIZE 2
\end_layout
\begin_layout Plain Layout
+\change_deleted 0 1271400377
+
#define VIRTIO_CONSOLE_PORT_OPEN 3
\end_layout
\begin_layout Plain Layout
+\change_deleted 0 1271400377
+
#define VIRTIO_CONSOLE_PORT_NAME 4
\end_layout
\begin_layout Plain Layout
+\...
2010 Apr 16
0
Update virtio spec with new virtio console ABI information
...out Plain Layout
+\change_deleted 0 1271400377
+
#define VIRTIO_CONSOLE_PORT_READY 0
\end_layout
\begin_layout Plain Layout
+\change_deleted 0 1271400377
+
#define VIRTIO_CONSOLE_CONSOLE_PORT 1
\end_layout
\begin_layout Plain Layout
+\change_deleted 0 1271400377
+
#define VIRTIO_CONSOLE_RESIZE 2
\end_layout
\begin_layout Plain Layout
+\change_deleted 0 1271400377
+
#define VIRTIO_CONSOLE_PORT_OPEN 3
\end_layout
\begin_layout Plain Layout
+\change_deleted 0 1271400377
+
#define VIRTIO_CONSOLE_PORT_NAME 4
\end_layout
\begin_layout Plain Layout
+\...
2010 Apr 08
3
[PATCH 00/11] (v6) virtio: console: Fixes, new way of discovering ports
Hello,
This series reworks the ABI to allow port discovery (only) via the
control queue and enable multiport again.
In addition, it adds support for non-blocking write() support, which
means no spinning. This works fine with the recent patches that are on
qemu-devel.
Also included is removal of hvc_remove() as removing one such console
port causes other console ports (registered with hvc) to
2010 Apr 08
3
[PATCH 00/11] (v6) virtio: console: Fixes, new way of discovering ports
Hello,
This series reworks the ABI to allow port discovery (only) via the
control queue and enable multiport again.
In addition, it adds support for non-blocking write() support, which
means no spinning. This works fine with the recent patches that are on
qemu-devel.
Also included is removal of hvc_remove() as removing one such console
port causes other console ports (registered with hvc) to
2010 Jan 20
0
[PATCH] virtio-spec: Update the spec for recent virtio-console changes
...Plain Layout
+
+\change_inserted 0 1263991870
+
+#define VIRTIO_CONSOLE_PORT_READY 0
+\end_layout
+
+\begin_layout Plain Layout
+
+\change_inserted 0 1263991870
+
+#define VIRTIO_CONSOLE_CONSOLE_PORT 1
+\end_layout
+
+\begin_layout Plain Layout
+
+\change_inserted 0 1263991870
+
+#define VIRTIO_CONSOLE_RESIZE 2
+\end_layout
+
+\begin_layout Plain Layout
+
+\change_inserted 0 1263991870
+
+#define VIRTIO_CONSOLE_PORT_OPEN 3
+\end_layout
+
+\begin_layout Plain Layout
+
+\change_inserted 0 1263991870
+
+#define VIRTIO_CONSOLE_PORT_NAME 4
+\end_layout
+
+\begin_layout Plain Layout
+...
2010 Jan 20
0
[PATCH] virtio-spec: Update the spec for recent virtio-console changes
...Plain Layout
+
+\change_inserted 0 1263991870
+
+#define VIRTIO_CONSOLE_PORT_READY 0
+\end_layout
+
+\begin_layout Plain Layout
+
+\change_inserted 0 1263991870
+
+#define VIRTIO_CONSOLE_CONSOLE_PORT 1
+\end_layout
+
+\begin_layout Plain Layout
+
+\change_inserted 0 1263991870
+
+#define VIRTIO_CONSOLE_RESIZE 2
+\end_layout
+
+\begin_layout Plain Layout
+
+\change_inserted 0 1263991870
+
+#define VIRTIO_CONSOLE_PORT_OPEN 3
+\end_layout
+
+\begin_layout Plain Layout
+
+\change_inserted 0 1263991870
+
+#define VIRTIO_CONSOLE_PORT_NAME 4
+\end_layout
+
+\begin_layout Plain Layout
+...
2010 Jan 29
3
virtio: console: Return -EFAULT on copy_xx_user errors, allow larger writes
Hey Rusty,
These updated patches in the series return -EFAULT on copy_xx_user
errors and also move the copy_from_user into fops_write() instead of it
being in send_buf. This enables send_buf to just read from kernel
buffers, making it simpler.
This also allows write()s to write more to the host in one go,
removingthe 4k limitation. I do limit the writes to 32k at once to not
put too much
2010 Jan 29
3
virtio: console: Return -EFAULT on copy_xx_user errors, allow larger writes
Hey Rusty,
These updated patches in the series return -EFAULT on copy_xx_user
errors and also move the copy_from_user into fops_write() instead of it
being in send_buf. This enables send_buf to just read from kernel
buffers, making it simpler.
This also allows write()s to write more to the host in one go,
removingthe 4k limitation. I do limit the writes to 32k at once to not
put too much