[Qemu-devel] [PATCH] COLO: remove the operation to clear connection list

2017-10-23 Thread Zhi Yong Wu
When hash table is created with g_hash_table_new_full(), the free function has been registered. So it isn't necessary since g_hash_table_remove_all() will call connection_destroy() for each connection struct automatically. Signed-off-by: Zhi Yong Wu <zhiyong...@ucloud.cn> --- net/colo.c

[Qemu-devel] [PATCH] COLO: remove the operation to clear connection list

2017-10-23 Thread Zhi Yong Wu
From 4439e5853f98fb4b32f346245a46414d3c7e2221 Mon Sep 17 00:00:00 2001 From: Zhi Yong Wu <zhiyong...@ucloud.cn> Date: Tue, 24 Oct 2017 03:19:00 +0800 Subject: [PATCH] COLO: remove the operation to clear connection list When hash table is created with g_hash_table_new_full(), the free fu

Re: [Qemu-devel] [for-2.10 PATCH v4] 9pfs: local: fix fchmodat_nofollow() limitations

2017-08-10 Thread Zhi Yong Wu
Tested-by: Zhi Yong Wu <zhiyong...@ucloud.cn> Regards, Zhi Yong Wu At 2017-08-10 00:40:57, "Greg Kurz" <gr...@kaod.org> wrote: >This function has to ensure it doesn't follow a symlink that could be used >to escape the virtfs directory. This could be easily achi

[Qemu-devel] virtio: error trying to map MMIO memory

2015-10-27 Thread Zhi Yong Wu
is_write 1 addr 880037071240 len 0010 is_write 0 qemu-system-x86_64: virtio: error trying to map MMIO memory -- Regards, Zhi Yong Wu

[Qemu-devel] virtio: error trying to map MMIO memory

2015-10-27 Thread Zhi Yong Wu
is_write 1 addr 880037071240 len 0010 is_write 0 qemu-system-x86_64: virtio: error trying to map MMIO memory -- Regards, Zhi Yong Wu

[Qemu-devel] Why *.dsl files exist in qemu project?

2015-05-26 Thread Zhi Yong Wu
admin 3490 May 26 10:43 hw/i386/ssdt-pcihp.dsl -rw-rw-r-- 1 admin admin 2351 May 26 10:43 hw/i386/ssdt-proc.dsl -- Regards, Zhi Yong Wu

Re: [Qemu-devel] Why *.dsl files exist in qemu project?

2015-05-26 Thread Zhi Yong Wu
On Tue, May 26, 2015 at 7:13 PM, Paolo Bonzini pbonz...@redhat.com wrote: On 26/05/2015 13:06, Zhi Yong Wu wrote: HI, Does anyone know why these *.dsl files exist in qemu project? Since these files are used to define some hardware resource and operation methods tables, i thought

Re: [Qemu-devel] [PATCH v2 00/11] cpu: add i386 cpu hot remove support

2015-02-10 Thread Zhi Yong Wu
On Fri, Feb 6, 2015 at 3:54 PM, Zhu Guihua zhugh.f...@cn.fujitsu.com wrote: On Tue, 2015-02-03 at 16:41 +0800, Zhi Yong Wu wrote: HI, Can you push the patchset to a branch on github? It will be convenient for other guys to do some tests. sorry for late reply. I had pushed into https

Re: [Qemu-devel] [PATCH v2 0/5] Common unplug and unplug request cb for memory and CPU hot-unplug

2015-02-03 Thread Zhi Yong Wu
deletions(-) -- 1.9.3 -- Regards, Zhi Yong Wu

Re: [Qemu-devel] [PATCH v2 00/11] cpu: add i386 cpu hot remove support

2015-02-03 Thread Zhi Yong Wu
19 files changed, 378 insertions(+), 27 deletions(-) -- 1.9.3 -- Regards, Zhi Yong Wu

Re: [Qemu-devel] [RESEND PATCH v1 00/13] QEmu memory hot unplug support.

2015-02-03 Thread Zhi Yong Wu
insertions(+), 31 deletions(-) -- 1.8.4.2 -- Regards, Zhi Yong Wu

Re: [Qemu-devel] [PATCH v2] libcacard: fix compile error on glib2-2.12.3-4.el5

2014-09-30 Thread Zhi Yong Wu
-lgthread-2.0 -lglib-2.0 -lrt -lz -luuid -lutil -Wl,--rpath -Wl,/usr/local/lib /usr/bin/ld: -f may not be used without -shared collect2: ld returned 1 exit status make: *** [vscclient] Error 1 On Tue, Sep 30, 2014 at 5:28 PM, Paolo Bonzini pbonz...@redhat.com wrote: Il 30/09/2014 11:12, Zhi Yong Wu ha

Re: [Qemu-devel] [PATCH v2] libcacard: fix compile error on glib2-2.12.3-4.el5

2014-09-30 Thread Zhi Yong Wu
On Tue, Sep 30, 2014 at 10:06 PM, Paolo Bonzini pbonz...@redhat.com wrote: Il 30/09/2014 15:57, Zhi Yong Wu ha scritto: libtool --mode=link --tag=CC c++ -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing

Re: [Qemu-devel] [PATCH v2] libcacard: fix compile error on glib2-2.12.3-4.el5

2014-09-30 Thread Zhi Yong Wu
On Tue, Sep 30, 2014 at 11:16 PM, Paolo Bonzini pbonz...@redhat.com wrote: Il 30/09/2014 17:09, Zhi Yong Wu ha scritto: So the problem seems to be with -Wl,-fstack-protector-all. Where does it come from? QEMU or some pkg-config file? Does it work if you configure with the --disable

Re: [Qemu-devel] vhost-net issue: does not survive reboot on ppc64

2013-12-22 Thread Zhi Yong Wu
/brctl addif brtest $1 -- Alexey -- Regards, Zhi Yong Wu

Re: [Qemu-devel] RFC: kvm call reschedule

2013-12-12 Thread Zhi Yong Wu
the day will not help :p I prefer 15:00 CET (14:00 UTC). +1, but it will be perfect if it's 13:00 or 14:00 CET Kevin -- Regards, Zhi Yong Wu

Re: [Qemu-devel] RFC: kvm call reschedule

2013-12-12 Thread Zhi Yong Wu
On Thu, Dec 12, 2013 at 8:53 PM, Michael S. Tsirkin m...@redhat.com wrote: On Thu, Dec 12, 2013 at 05:01:55PM +0800, Zhi Yong Wu wrote: On Tue, Dec 10, 2013 at 11:23 PM, Kevin Wolf kw...@redhat.com wrote: Am 10.12.2013 um 16:11 hat Juan Quintela geschrieben: Anthony can't assist this call

[Qemu-devel] [PATCH] virtio-net: fix the indent

2013-11-26 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- hw/net/virtio-net.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c index b75c753..90eca9a 100644 --- a/hw/net/virtio-net.c +++ b

[Qemu-devel] [PATCH 4/4] net, virtio_net: replace the magic value

2013-11-18 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com It is more appropriate to use # of queue pairs currently used by the driver instead of a magic value. Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- drivers/net/virtio_net.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff

Re: [Qemu-devel] [PATCH 4/4] net, virtio_net: replace the magic value

2013-11-18 Thread Zhi Yong Wu
On Mon, Nov 18, 2013 at 5:50 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon, Nov 18, 2013 at 04:46:20PM +0800, Zhi Yong Wu wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com It is more appropriate to use # of queue pairs currently used by the driver instead of a magic value. Signed-off

Re: [Qemu-devel] [PATCH 4/4] net, virtio_net: replace the magic value

2013-11-18 Thread Zhi Yong Wu
On Mon, Nov 18, 2013 at 6:15 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon, Nov 18, 2013 at 06:07:45PM +0800, Zhi Yong Wu wrote: On Mon, Nov 18, 2013 at 5:50 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon, Nov 18, 2013 at 04:46:20PM +0800, Zhi Yong Wu wrote: From: Zhi Yong Wu wu

[Qemu-devel] [PATCH] MAINTAINERS: Add the maintainer for hub net client

2013-11-06 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Since i did a lot of work to make this feature get merged, and hope to gain some excercises about how to become a good maintainer, i'm applying for this role now and hope to get this chance, thanks. Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com

Re: [Qemu-devel] [PATCH] Use qemu-project.org domain name

2013-10-10 Thread Zhi Yong Wu
various authors. Released under the GNU General Public License. -- 1.8.3.1 -- Regards, Zhi Yong Wu

Re: [Qemu-devel] [ANNOUNCE] OSv, an new operating system for the cloud, v0.01

2013-09-18 Thread Zhi Yong Wu
-info.html -- Regards, Zhi Yong Wu

Re: [Qemu-devel] [ANNOUNCE] OSv, an new operating system for the cloud, v0.01

2013-09-18 Thread Zhi Yong Wu
Thanks for your pointers, Dor. On Wed, Sep 18, 2013 at 8:59 PM, Dor Laor d...@cloudius-systems.com wrote: On Wed, Sep 18, 2013 at 3:43 PM, Zhi Yong Wu zwu.ker...@gmail.com wrote: any doc that describes its archtecture or interval? You can find some of the design principles here [1] and here

Re: [Qemu-devel] [PATCH] hmp: Make info block output more readable

2013-06-19 Thread Zhi Yong Wu
); -- 1.8.1.4 -- Regards, Zhi Yong Wu

Re: [Qemu-devel] [RFC 1/4] block: fix I/O throttling accounting blind spot

2013-03-27 Thread Zhi Yong Wu
; -- 1.8.1.4 -- Regards, Zhi Yong Wu

Re: [Qemu-devel] [RFC 1/4] block: fix I/O throttling accounting blind spot

2013-03-27 Thread Zhi Yong Wu
On Wed, Mar 27, 2013 at 5:14 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Wed, Mar 27, 2013 at 9:50 AM, Zhi Yong Wu zwu.ker...@gmail.com wrote: On Thu, Mar 21, 2013 at 10:49 PM, Stefan Hajnoczi stefa...@redhat.com wrote: I/O throttling relies on bdrv_acct_done() which is called when

Re: [Qemu-devel] [RFC 0/4] block: fix I/O throttling oscillations

2013-03-27 Thread Zhi Yong Wu
--- blockdev.c| 1 - include/block/block_int.h | 3 +-- 3 files changed, 21 insertions(+), 30 deletions(-) -- 1.8.1.4 -- Regards, Zhi Yong Wu

Re: [Qemu-devel] [PATCH] block: fix bdrv_exceed_iops_limits wait computation

2013-03-21 Thread Zhi Yong Wu
On Thu, 2013-03-21 at 10:17 +0100, Stefan Hajnoczi wrote: On Thu, Mar 21, 2013 at 09:18:27AM +0800, Zhi Yong Wu wrote: On Wed, 2013-03-20 at 16:12 +0100, Stefan Hajnoczi wrote: On Wed, Mar 20, 2013 at 03:56:33PM +0100, Benoît Canet wrote: But I don't understand why bs-slice_time

Re: [Qemu-devel] [PATCH] block: fix bdrv_exceed_iops_limits wait computation

2013-03-20 Thread Zhi Yong Wu
Reviewed-by: Zhi Yong Wu wu...@linux.vnet.ibm.com On Wed, 2013-03-20 at 10:12 +0100, Benoît Canet wrote: This patch fix an I/O throttling behavior triggered by limiting at 150 iops and running a load of 50 threads doing random pwrites on a raw virtio device. After a few moments the iops

Re: [Qemu-devel] [PATCH] block: fix bdrv_exceed_iops_limits wait computation

2013-03-20 Thread Zhi Yong Wu
is very slow and I/O throttling speed is fast, slice_time also need to be adjusted dynamically based on wait_time. If i remember correctly, it's the reason. Stefan -- Regards, Zhi Yong Wu

Re: [Qemu-devel] [Qemu-ppc] [PATCH] ide/macio: Fix macio DMA initialisation.

2013-02-25 Thread Zhi Yong Wu
-dbdma, 0x1a); +macio_ide_register_dma(ns-ide[1], s-dbdma, 0x1a); ret = qdev_init(DEVICE(ns-ide[1])); if (ret 0) { return ret; -- 1.7.10.4 -- Regards, Zhi Yong Wu

Re: [Qemu-devel] [RFC V7 00/11] Quorum block filter

2013-01-21 Thread Zhi Yong Wu
| 22 ++ include/qemu-common.h |2 + util/iov.c| 103 +++ 6 files changed, 919 insertions(+), 106 deletions(-) create mode 100644 block/quorum.c -- 1.7.10.4 -- Regards, Zhi Yong Wu

Re: [Qemu-devel] [RFC V7 00/11] Quorum block filter

2013-01-21 Thread Zhi Yong Wu
while which aren't? That's why one must set each image on a different filer to avoid identical corruptions. Since each image locates on different filer, you can't also make 100% sure to avoid identical corruptions. Regards, Benoīt -- Regards, Zhi Yong Wu

Re: [Qemu-devel] [RFC V7 00/11] Quorum block filter

2013-01-21 Thread Zhi Yong Wu
On Tue, Jan 22, 2013 at 2:44 AM, Eric Blake ebl...@redhat.com wrote: On 01/21/2013 11:35 AM, Zhi Yong Wu wrote: On Mon, Jan 21, 2013 at 10:25 PM, Benoît Canet benoit.ca...@irqsave.net wrote: I don't know if the following case can be handled correctly. For example, quorum:2/3:image1

Re: [Qemu-devel] [RFC PATCH v4 00/30] ACPI memory hotplug

2012-12-18 Thread Zhi Yong Wu
/acpi-dsdt-mem-hotplug.dsl create mode 100644 src/ssdt-mem.dsl -- 1.7.9 -- Regards, Zhi Yong Wu

Re: [Qemu-devel] [Bug 1087114] [NEW] assertion QLIST_EMPTY(bs-tracked_requests) failed

2012-12-13 Thread Zhi Yong Wu
, data=8) at /home/ports/pobj/qemu-1.3.0-debug/qemu-1.3.0/target-i386/misc_helper.c:72 No locals. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1087114/+subscriptions -- Regards, Zhi Yong Wu

Re: [Qemu-devel] What is the current state of the various usb implementations?

2012-12-11 Thread Zhi Yong Wu
-- Regards, Zhi Yong Wu

Re: [Qemu-devel] FYI: KVM Forum community team photo

2012-11-22 Thread Zhi Yong Wu
://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| -- Regards, Zhi Yong Wu

Re: [Qemu-devel] KVM call agenda for 2012-11-12

2012-11-13 Thread Zhi Yong Wu
to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- Regards, Zhi Yong Wu

Re: [Qemu-devel] [hellogcc] Call for Chinese QEMU developers

2012-09-19 Thread Zhi Yong Wu
, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj -- Regards, Zhi Yong Wu

Re: [Qemu-devel] [PATCH v2 00/16] net: Move legacy QEMU VLAN code into net/hub.c

2012-07-30 Thread Zhi Yong Wu
net.c net: Remove VLANState net: Rename non_vlan_clients to net_clients net: Rename VLANClientState to NetClientState net: Rename vc local variables to nc net: Rename qemu_del_vlan_client() to qemu_del_net_client() Zhi Yong Wu (5): net: Convert qdev_prop_vlan to peer with hub

Re: [Qemu-devel] [RFC 0/9] vhost-scsi: Add support for host virtualized target

2012-07-24 Thread Zhi Yong Wu
-...@googlegroups.com. To unsubscribe from this group, send email to linux-iscsi-target-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/linux-iscsi-target-dev?hl=en. -- Regards, Zhi Yong Wu

Re: [Qemu-devel] [PATCH v6 00/17] hub-based networking patchset

2012-07-19 Thread Zhi Yong Wu
On Thu, Jul 19, 2012 at 11:41 PM, Paolo Bonzini pbonz...@redhat.com wrote: Il 19/07/2012 17:40, Stefan Hajnoczi ha scritto: On Sun, Jun 24, 2012 at 4:11 PM, Zhi Yong Wu zwu.ker...@gmail.com wrote: pull? I have been basing work off this series. I'm sending a rebased and retested version

Re: [Qemu-devel] [PATCH v6 00/17] hub-based networking patchset

2012-07-19 Thread Zhi Yong Wu
of laszlo's patchset, there seems to be no too much conflict with my patchset. On Thu, Jul 19, 2012 at 11:49 PM, Paolo Bonzini pbonz...@redhat.com wrote: Il 19/07/2012 17:48, Zhi Yong Wu ha scritto: I have been basing work off this series. I'm sending a rebased and retested version which

Re: [Qemu-devel] [PATCH v6 00/17] hub-based networking patchset

2012-07-19 Thread Zhi Yong Wu
patchsets. You can see that only some lines of code in most above files are changed. On Fri, Jul 20, 2012 at 12:08 AM, Paolo Bonzini pbonz...@redhat.com wrote: Il 19/07/2012 17:57, Zhi Yong Wu ha scritto: qapi/opts-visitor.h | 31 qapi/opts-visitor.c | 427

Re: [Qemu-devel] [PATCH] hw/virtio-scsi: Set max_target=0 during vhost-scsi operation

2012-07-15 Thread Zhi Yong Wu
HI, nab, On Fri, Jul 13, 2012 at 6:08 AM, Nicholas A. Bellinger n...@linux-iscsi.org wrote: Hi Zhi, On Thu, 2012-07-12 at 14:59 +0800, Zhi Yong Wu wrote: thanks, it is applied to my vhost_scsi git tree git://github.com/wuzhy/qemu.git vhost-scsi Thanks for picking up this patch in your

Re: [Qemu-devel] [PATCH] hw/virtio-scsi: Set max_target=0 during vhost-scsi operation

2012-07-12 Thread Zhi Yong Wu
. It's currently cut against Zhi's qemu vhost-scsi tree here: https://github.com/wuzhy/qemu/tree/vhost-scsi Cc: Stefan Hajnoczi stefa...@linux.vnet.ibm.com Cc: Zhi Yong Wu wu...@linux.vnet.ibm.com Cc: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Nicholas Bellinger n...@linux-iscsi.org

Re: [Qemu-devel] [PATCH] hw/virtio-scsi: Set max_target=0 during vhost-scsi operation

2012-07-12 Thread Zhi Yong Wu
. It's currently cut against Zhi's qemu vhost-scsi tree here: https://github.com/wuzhy/qemu/tree/vhost-scsi Cc: Stefan Hajnoczi stefa...@linux.vnet.ibm.com Cc: Zhi Yong Wu wu...@linux.vnet.ibm.com Cc: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Nicholas Bellinger n...@linux-iscsi.org

Re: [Qemu-devel] [PATCH] hw/virtio-scsi: Set max_target=0 during vhost-scsi operation

2012-07-11 Thread Zhi Yong Wu
target IDs up to VIRTIO_SCSI_MAX_TARGET when connected via virtio-scsi-raw. It's currently cut against Zhi's qemu vhost-scsi tree here: https://github.com/wuzhy/qemu/tree/vhost-scsi Cc: Stefan Hajnoczi stefa...@linux.vnet.ibm.com Cc: Zhi Yong Wu wu...@linux.vnet.ibm.com Cc: Paolo

Re: [Qemu-devel] [RFC 0/7] qcow2: implement lazy refcounts optimization

2012-06-25 Thread Zhi Yong Wu
  |   34 +  tests/qemu-iotests/common.rc |    3 +-  tests/qemu-iotests/group     |    1 +  10 files changed, 292 insertions(+), 22 deletions(-)  create mode 100755 tests/qemu-iotests/039  create mode 100644 tests/qemu-iotests/039.out -- 1.7.10 -- Regards, Zhi Yong Wu

Re: [Qemu-devel] [PATCH v6 00/17] hub-based networking patchset

2012-06-24 Thread Zhi Yong Wu
pull? On Thu, Jun 21, 2012 at 9:14 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Wed, Jun 20, 2012 at 10:42 AM,  zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com All comments have been addressed and stefan has completed one more reviewing. For this patchset, my git

Re: [Qemu-devel] [PATCH v2 0/3] Some socket fix patches

2012-06-24 Thread Zhi Yong Wu
pull? On Wed, Jun 20, 2012 at 5:46 PM, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com The patchset is on top of hub-based networking patchset. For this patchset, my git repo: g...@github.com:wuzhy/qemu.git for-anthony Zhi Yong Wu (3):  net: fix the coding style

Re: [Qemu-devel] [PATCH] net: roll back qdev_prop_vlan

2012-06-18 Thread Zhi Yong Wu
= qdev_get_prop_ptr(dev, prop); +    int64_t id = -1; + +    if (*ptr) { +        unsigned int hub_id; +        net_hub_id_for_client(*ptr, hub_id); It's unclear what happens if net_hub_id_for_client() fails but it looks like hub_id may be uninitialized. Stefan -- Regards, Zhi Yong Wu

[Qemu-devel] The latest qemu.git/master build break

2012-06-18 Thread Zhi Yong Wu
HI, When i want to rebase my hub-based network patchset to latest qemu.git/master, i found the build break. lt LINK libcacard.la ar: libcacard/cac.o: No such file or directory make[1]: *** [libcacard.la] Error 1 make: *** [subdir-libcacard] Error 2 -- Regards, Zhi Yong Wu

Re: [Qemu-devel] [PATCH 3/3] net: complete NetSocketS?tate lifecycle handling

2012-06-18 Thread Zhi Yong Wu
please ignore this. thanks. On Tue, Jun 19, 2012 at 1:13 AM, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com The NetSocketState struct contains two file descriptors: an active connection and a listen socket for new connections.  It's important that we clean up after

Re: [Qemu-devel] The latest qemu.git/master build break

2012-06-18 Thread Zhi Yong Wu
On Mon, Jun 18, 2012 at 11:37 PM, Dunrong Huang riegama...@gmail.com wrote: 2012/6/18 Zhi Yong Wu zwu.ker...@gmail.com: HI, When i want to rebase my hub-based network patchset to latest qemu.git/master, i found the build break.  lt LINK libcacard.la ar: libcacard/cac.o: No such file

Re: [Qemu-devel] [PATCH] net: complete NetSocketState lifecycle handling

2012-06-12 Thread Zhi Yong Wu
-fd = -1;     s-listen_fd = fd;     s-nc.link_down = true; -- 1.7.10 Reviewed-by: Zhi Yong Wu wu...@linux.vnet.ibm.com -- Regards, Zhi Yong Wu

Re: [Qemu-devel] [PATCH v4 06/16] net: Remove vlan qdev property

2012-06-11 Thread Zhi Yong Wu
On Mon, Jun 11, 2012 at 2:28 PM, Paolo Bonzini pbonz...@redhat.com wrote: Il 09/06/2012 05:04, Zhi Yong Wu ha scritto: This commit looks suspicious because it removes a user-visible qdev property but we're trying to preserve backward compatibility.  This command-line will break: x86_64

Re: [Qemu-devel] [PATCH v4 06/16] net: Remove vlan qdev property

2012-06-11 Thread Zhi Yong Wu
On Mon, Jun 11, 2012 at 4:57 PM, Stefan Hajnoczi stefa...@linux.vnet.ibm.com wrote: On Mon, Jun 11, 2012 at 08:28:57AM +0200, Paolo Bonzini wrote: Il 09/06/2012 05:04, Zhi Yong Wu ha scritto: This commit looks suspicious because it removes a user-visible qdev property but we're trying

Re: [Qemu-devel] [PATCH v4 06/16] net: Remove vlan qdev property

2012-06-11 Thread Zhi Yong Wu
On Mon, Jun 11, 2012 at 10:42 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Mon, Jun 11, 2012 at 3:24 PM, Zhi Yong Wu zwu.ker...@gmail.com wrote: On Mon, Jun 11, 2012 at 4:57 PM, Stefan Hajnoczi stefa...@linux.vnet.ibm.com wrote: On Mon, Jun 11, 2012 at 08:28:57AM +0200, Paolo Bonzini wrote

Re: [Qemu-devel] [PATCH v4 06/16] net: Remove vlan qdev property

2012-06-11 Thread Zhi Yong Wu
On Tue, Jun 12, 2012 at 4:05 AM, Luiz Capitulino lcapitul...@redhat.com wrote: On Mon, 11 Jun 2012 22:15:55 +0800 Zhi Yong Wu zwu.ker...@gmail.com wrote: On Mon, Jun 11, 2012 at 2:28 PM, Paolo Bonzini pbonz...@redhat.com wrote: Il 09/06/2012 05:04, Zhi Yong Wu ha scritto: This commit looks

Re: [Qemu-devel] [PATCH v5 2/2] net: add the support for -netdev socket, listen

2012-06-08 Thread Zhi Yong Wu
. Stefan -- Regards, Zhi Yong Wu

Re: [Qemu-devel] [PATCH v5 2/2] net: add the support for -netdev socket, listen

2012-06-08 Thread Zhi Yong Wu
On Fri, Jun 8, 2012 at 10:20 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Fri, Jun 8, 2012 at 3:15 PM, Zhi Yong Wu zwu.ker...@gmail.com wrote: On Fri, Jun 8, 2012 at 6:31 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Thu, Jun 7, 2012 at 3:54 PM,  zwu.ker...@gmail.com wrote: @@ -86,7

Re: [Qemu-devel] [PATCH v5 2/2] net: add the support for -netdev socket, listen

2012-06-08 Thread Zhi Yong Wu
On Fri, Jun 8, 2012 at 10:20 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Fri, Jun 8, 2012 at 3:15 PM, Zhi Yong Wu zwu.ker...@gmail.com wrote: On Fri, Jun 8, 2012 at 6:31 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Thu, Jun 7, 2012 at 3:54 PM,  zwu.ker...@gmail.com wrote: @@ -86,7

Re: [Qemu-devel] [PATCH v4 06/16] net: Remove vlan qdev property

2012-06-08 Thread Zhi Yong Wu
that are accessible as qdev properties. Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com ---  hw/qdev-properties.c |   72 --  hw/qdev.c            |    2 -  hw/qdev.h            |    4

Re: [Qemu-devel] [PATCH v5 2/2] net: add the support for -netdev socket, listen

2012-06-08 Thread Zhi Yong Wu
that qemu_set_fd_handler(s-fd, NULL, NULL, NULL); before s-fd = 0. Stefan -- Regards, Zhi Yong Wu

Re: [Qemu-devel] [PATCH v5 2/2] net: add the support for -netdev socket, listen

2012-06-08 Thread Zhi Yong Wu
On Fri, Jun 8, 2012 at 11:59 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Fri, Jun 8, 2012 at 3:54 PM, Zhi Yong Wu zwu.ker...@gmail.com wrote: On Fri, Jun 8, 2012 at 6:31 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Thu, Jun 7, 2012 at 3:54 PM,  zwu.ker...@gmail.com wrote: @@ -86,7

Re: [Qemu-devel] [PATCH v4 06/16] net: Remove vlan qdev property

2012-06-08 Thread Zhi Yong Wu
On Sat, Jun 9, 2012 at 12:09 AM, Stefan Hajnoczi stefa...@gmail.com wrote: On Fri, Jun 8, 2012 at 3:48 PM, Zhi Yong Wu zwu.ker...@gmail.com wrote: On Fri, Jun 8, 2012 at 9:23 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Mon, Jun 4, 2012 at 6:29 AM,  zwu.ker...@gmail.com wrote: From: Stefan

Re: [Qemu-devel] [PATCH v4] net: add the support for -netdev socket, listen

2012-06-07 Thread Zhi Yong Wu
On Thu, Jun 7, 2012 at 6:08 PM, Stefan Hajnoczi stefa...@linux.vnet.ibm.com wrote: On Wed, Jun 06, 2012 at 09:26:23PM +0800, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com The -net socket,listen option does not work with the newer -netdev syntax:  http://lists.gnu.org

Re: [Qemu-devel] [PATCH v4] net: add the support for -netdev socket, listen

2012-06-07 Thread Zhi Yong Wu
On Thu, Jun 7, 2012 at 10:16 PM, Paolo Bonzini pbonz...@redhat.com wrote: Il 07/06/2012 14:49, Zhi Yong Wu ha scritto: Instead, drop the NetSocketListenState struct and add a listen_fd field to NetSocketState.  When a -netdev socket,listen= instance is created there will be a NetSocketState

Re: [Qemu-devel] [Bug 1003054] Re: Socket not closed when a connection ends

2012-06-06 Thread Zhi Yong Wu
-- Regards, Zhi Yong Wu

Re: [Qemu-devel] [PATCH block-next 0/3] qemu-img check/qcow2: Allow fixing refcounts

2012-06-06 Thread Zhi Yong Wu
On Wed, Jun 6, 2012 at 6:32 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Fri, Jun 1, 2012 at 9:26 AM, Zhi Yong Wu zwu.ker...@gmail.com wrote: On Fri, Jun 1, 2012 at 4:06 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Fri, Jun 1, 2012 at 6:22 AM, Zhi Yong Wu zwu.ker...@gmail.com wrote

Re: [Qemu-devel] [PATCH v2] net: add the support for -netdev socket, listen

2012-06-03 Thread Zhi Yong Wu
On Sun, Feb 26, 2012 at 10:48 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Sat, Feb 18, 2012 at 9:19 AM,  zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com The -net socket,listen option does not work with the newer -netdev syntax: http://lists.gnu.org/archive/html

Re: [Qemu-devel] [PULL 1.2 00/16] hub-based networking patches

2012-06-03 Thread Zhi Yong Wu
  net: Remove VLANState   net: Rename non_vlan_clients to net_clients   net: Rename VLANClientState to NetClientState   net: Rename vc local variables to nc   net: Rename qemu_del_vlan_client() to qemu_del_net_client() Zhi Yong Wu (4):   net: Make info network output more readable info   net

Re: [Qemu-devel] [PATCH block-next 0/3] qemu-img check/qcow2: Allow fixing refcounts

2012-06-01 Thread Zhi Yong Wu
On Fri, Jun 1, 2012 at 4:06 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Fri, Jun 1, 2012 at 6:22 AM, Zhi Yong Wu zwu.ker...@gmail.com wrote: On Thu, May 31, 2012 at 5:26 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Wed, May 30, 2012 at 9:31 AM, Zhi Yong Wu zwu.ker...@gmail.com wrote

Re: [Qemu-devel] frame reordering in qemu_net_queue_send() ?

2012-05-31 Thread Zhi Yong Wu
) -+--- -- Regards, Zhi Yong Wu

Re: [Qemu-devel] frame reordering in qemu_net_queue_send() ?

2012-05-31 Thread Zhi Yong Wu
finished delivering the initial packet we flush the queue. This is a weird case but this is how I read the intention of the code. Jan: maybe slirp can do this re-entrant qemu_net_queue_send()? Stefan -- Regards, Zhi Yong Wu

Re: [Qemu-devel] frame reordering in qemu_net_queue_send() ?

2012-05-31 Thread Zhi Yong Wu
On Thu, May 31, 2012 at 9:19 PM, Paolo Bonzini pbonz...@redhat.com wrote: Il 31/05/2012 15:07, Zhi Yong Wu ha scritto: Yeah, this case actually exists, but tcp/ip protocol stack in guest will make sure this ordering will finally be correct. Nevertheless it's not good, and the latest Windows

Re: [Qemu-devel] frame reordering in qemu_net_queue_send() ?

2012-05-31 Thread Zhi Yong Wu
On Thu, May 31, 2012 at 9:48 PM, Jan Kiszka jan.kis...@siemens.com wrote: On 2012-05-31 15:45, Zhi Yong Wu wrote: On Thu, May 31, 2012 at 5:18 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Wed, May 30, 2012 at 8:59 AM, Luigi Rizzo ri...@iet.unipi.it wrote: Hi, while investigating rx

Re: [Qemu-devel] frame reordering in qemu_net_queue_send() ?

2012-05-31 Thread Zhi Yong Wu
On Thu, May 31, 2012 at 10:16 PM, Jan Kiszka jan.kis...@siemens.com wrote: On 2012-05-31 16:10, Zhi Yong Wu wrote: On Thu, May 31, 2012 at 9:48 PM, Jan Kiszka jan.kis...@siemens.com wrote: On 2012-05-31 15:45, Zhi Yong Wu wrote: On Thu, May 31, 2012 at 5:18 PM, Stefan Hajnoczi stefa

Re: [Qemu-devel] [PATCH block-next 0/3] qemu-img check/qcow2: Allow fixing refcounts

2012-05-31 Thread Zhi Yong Wu
On Thu, May 31, 2012 at 5:26 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Wed, May 30, 2012 at 9:31 AM, Zhi Yong Wu zwu.ker...@gmail.com wrote: On Sat, May 12, 2012 at 12:48 AM, Kevin Wolf kw...@redhat.com wrote: A prerequisite for a QED mode in qcow2, which doesn't update the refcount

Re: [Qemu-devel] [PATCH block-next 0/3] qemu-img check/qcow2: Allow fixing refcounts

2012-05-30 Thread Zhi Yong Wu
insertions(+), 18 deletions(-) -- 1.7.6.5 -- Regards, Zhi Yong Wu

Re: [Qemu-devel] [PATCH v2] net: add the support for -netdev socket, listen

2012-05-28 Thread Zhi Yong Wu
On Sun, Feb 26, 2012 at 10:48 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Sat, Feb 18, 2012 at 9:19 AM,  zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com The -net socket,listen option does not work with the newer -netdev syntax: http://lists.gnu.org/archive/html

Re: [Qemu-devel] [PATCH v2] net: add the support for -netdev socket, listen

2012-05-28 Thread Zhi Yong Wu
On Mon, May 28, 2012 at 6:51 PM, Stefan Hajnoczi stefa...@linux.vnet.ibm.com wrote: On Mon, May 28, 2012 at 03:49:11PM +0800, Zhi Yong Wu wrote: On Sun, Feb 26, 2012 at 10:48 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Sat, Feb 18, 2012 at 9:19 AM,  zwu.ker...@gmail.com wrote: From: Zhi

Re: [Qemu-devel] [PATCH v4 16/16] hub: add the support for hub own flow control

2012-05-26 Thread Zhi Yong Wu
for that particular peer but at least we tried to deliver it when they claimed to be ready. Yeah, i think that he is lack of enough understanding on net subsystem code. He can't see that his thought brought a lot of issues. Stefan -- Regards, Zhi Yong Wu

Re: [Qemu-devel] [PATCH v3 16/16] hub: add the support for hub own flow control

2012-05-25 Thread Zhi Yong Wu
On Fri, May 25, 2012 at 3:04 PM, Paolo Bonzini pbonz...@redhat.com wrote: Il 24/05/2012 19:59, zwu.ker...@gmail.com ha scritto: From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com ---  net/hub.c   |   35 ---  net

Re: [Qemu-devel] [PATCH v3 16/16] hub: add the support for hub own flow control

2012-05-25 Thread Zhi Yong Wu
On Fri, May 25, 2012 at 3:04 PM, Paolo Bonzini pbonz...@redhat.com wrote: Il 24/05/2012 19:59, zwu.ker...@gmail.com ha scritto: From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com ---  net/hub.c   |   35 ---  net

Re: [Qemu-devel] [PATCH v3 16/16] hub: add the support for hub own flow control

2012-05-25 Thread Zhi Yong Wu
On Fri, May 25, 2012 at 3:04 PM, Paolo Bonzini pbonz...@redhat.com wrote: Il 24/05/2012 19:59, zwu.ker...@gmail.com ha scritto: From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com ---  net/hub.c   |   35 ---  net

Re: [Qemu-devel] [PATCH v3 16/16] hub: add the support for hub own flow control

2012-05-25 Thread Zhi Yong Wu
On Fri, May 25, 2012 at 6:08 PM, Paolo Bonzini pbonz...@redhat.com wrote: Il 25/05/2012 09:48, Zhi Yong Wu ha scritto:  static ssize_t net_hub_receive(NetHub *hub, NetHubPort *source_port,                                 const uint8_t *buf, size_t len)  {      NetHubPort *port; +    ssize_t

Re: [Qemu-devel] [PATCH v4 16/16] hub: add the support for hub own flow control

2012-05-25 Thread Zhi Yong Wu
On Fri, May 25, 2012 at 7:05 PM, Paolo Bonzini pbonz...@redhat.com wrote: Il 25/05/2012 12:52, zwu.ker...@gmail.com ha scritto: From: Zhi Yong Wu wu...@linux.vnet.ibm.com Only when all other hub port's *peer* .can_receive() all return 1, the source hub port .can_receive() return 1. Signed

Re: [Qemu-devel] [PATCH v3 13/16] net: Make the monitor output more reasonable hub info

2012-05-25 Thread Zhi Yong Wu
On Fri, May 25, 2012 at 4:34 AM, Jan Kiszka jan.kis...@siemens.com wrote: On 2012-05-24 14:59, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com ---  net.c     |    7 ++-  net/hub.c |    2 +-  2 files changed, 7

Re: [Qemu-devel] [PATCH v3 13/16] net: Make the monitor output more reasonable hub info

2012-05-25 Thread Zhi Yong Wu
On Fri, May 25, 2012 at 9:49 PM, Jan Kiszka jan.kis...@siemens.com wrote: On 2012-05-25 09:00, Zhi Yong Wu wrote: On Fri, May 25, 2012 at 4:34 AM, Jan Kiszka jan.kis...@siemens.com wrote: On 2012-05-24 14:59, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off

Re: [Qemu-devel] [PATCH v4 13/16] net: Make info network output more readable info

2012-05-25 Thread Zhi Yong Wu
On Fri, May 25, 2012 at 10:17 PM, Jan Kiszka jan.kis...@siemens.com wrote: On 2012-05-25 11:02, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com Reviewed-by:   Jan Kiszka  jan.kis...@siemens.com Please don't put reviewed-by tags here before the reviewer had a chance

Re: [Qemu-devel] [PATCH v4 13/16] net: Make info network output more readable info

2012-05-25 Thread Zhi Yong Wu
On Fri, May 25, 2012 at 10:40 PM, Jan Kiszka jan.kis...@siemens.com wrote: On 2012-05-25 11:25, Zhi Yong Wu wrote: diff --git a/net/hub.c b/net/hub.c index 122de69..8c77d03 100644 --- a/net/hub.c +++ b/net/hub.c @@ -184,6 +184,25 @@ NetClientState *net_hub_find_client_by_name(unsigned int

Re: [Qemu-devel] [PATCH v4 13/16] net: Make info network output more readable info

2012-05-25 Thread Zhi Yong Wu
On Fri, May 25, 2012 at 10:50 PM, Jan Kiszka jan.kis...@siemens.com wrote: On 2012-05-25 11:44, Zhi Yong Wu wrote: On Fri, May 25, 2012 at 10:40 PM, Jan Kiszka jan.kis...@siemens.com wrote: On 2012-05-25 11:25, Zhi Yong Wu wrote: diff --git a/net/hub.c b/net/hub.c index 122de69..8c77d03

Re: [Qemu-devel] [PATCH] version: update version info

2012-05-24 Thread Zhi Yong Wu
On Thu, May 24, 2012 at 4:53 PM, Stefan Hajnoczi stefa...@linux.vnet.ibm.com wrote: On Thu, May 24, 2012 at 10:54:46AM +0800, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com ---  VERSION |    2 +-  1 files changed, 1

Re: [Qemu-devel] [PATCH v2 15/15] net: invoke qemu_can_send_packet only before net queue sending function

2012-05-24 Thread Zhi Yong Wu
On Thu, May 24, 2012 at 6:07 PM, Paolo Bonzini pbonz...@redhat.com wrote: Il 24/05/2012 06:05, Zhi Yong Wu ha scritto: On Thu, May 24, 2012 at 12:00 AM, Paolo Bonzini pbonz...@redhat.com wrote: Il 23/05/2012 17:14, zwu.ker...@gmail.com ha scritto: From: Zhi Yong Wu wu...@linux.vnet.ibm.com

Re: [Qemu-devel] [PATCH v2 13/15] net: Remove obsolete vlan info

2012-05-24 Thread Zhi Yong Wu
On Thu, May 24, 2012 at 8:09 PM, Jan Kiszka jan.kis...@siemens.com wrote: On 2012-05-23 23:42, Zhi Yong Wu wrote: On Wed, May 23, 2012 at 11:41 PM, Jan Kiszka jan.kis...@siemens.com wrote: On 2012-05-23 12:14, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off

  1   2   3   4   5   >