[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/4] virtio-serial: use uint32_t to count ports
From: |
Amit Shah |
Subject: |
[Qemu-devel] [PATCH 1/4] virtio-serial: use uint32_t to count ports |
Date: |
Thu, 13 Dec 2012 16:07:53 +0530 |
Signed-off-by: Amit Shah <address@hidden>
---
hw/virtio-serial-bus.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/virtio-serial-bus.c b/hw/virtio-serial-bus.c
index 155da58..30f450c 100644
--- a/hw/virtio-serial-bus.c
+++ b/hw/virtio-serial-bus.c
@@ -56,7 +56,7 @@ struct VirtIOSerial {
struct {
QEMUTimer *timer;
- int nr_active_ports;
+ uint32_t nr_active_ports;
struct {
VirtIOSerialPort *port;
uint8_t host_connected;
@@ -637,7 +637,7 @@ static void virtio_serial_save(QEMUFile *f, void *opaque)
static void virtio_serial_post_load_timer_cb(void *opaque)
{
- int i;
+ uint32_t i;
VirtIOSerial *s = opaque;
VirtIOSerialPort *port;
uint8_t host_connected;
--
1.8.0.2
- [Qemu-devel] [PATCH 0/4] virtio-serial: Rework, fix post_load code, Amit Shah, 2012/12/13
- [Qemu-devel] [PATCH 1/4] virtio-serial: use uint32_t to count ports,
Amit Shah <=
- [Qemu-devel] [PATCH 2/4] virtio-serial: move active ports loading to separate function, Amit Shah, 2012/12/13
- [Qemu-devel] [PATCH 3/4] virtio-serial: allocate post_load only at load-time, Amit Shah, 2012/12/13
- [Qemu-devel] [PATCH 4/4] virtio-serial: delete timer if active during exit, Amit Shah, 2012/12/13
- Re: [Qemu-devel] [PATCH 0/4] virtio-serial: Rework, fix post_load code, Alon Levy, 2012/12/13