Re: RFC: kvm call reschedule

2013-12-12 Thread Zhi Yong Wu
On Thu, Dec 12, 2013 at 8:53 PM, Michael S. Tsirkin 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 wrote: >> > Am 10.12.2013 um 16:11 hat Juan Quintela geschrieben: >> >> Anthony can't assis

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

2013-12-12 Thread Zhi Yong Wu
;> I can do any of them. Votes for the people that attend? >> As I guess he commutes everyday, moving 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 -- To unsu

Re: [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 wrote: > On Wed, Sep 18, 2013 at 3:43 PM, Zhi Yong Wu wrote: >> >> any doc that describes its archtecture or interval? >> > > You can find some of the design principles here [1] and here [2]. &

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

2013-09-18 Thread Zhi Yong Wu
Pekka > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Regards, Zhi Yong Wu -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: KVM call agenda for 2012-11-12

2012-11-13 Thread Zhi Yong Wu
t; in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Regards, Zhi Yong Wu -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org M

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

2012-07-24 Thread Zhi Yong Wu
ed, 430 insertions(+), 8 deletions(-) > create mode 100644 hw/vhost-scsi.c > create mode 100644 hw/vhost-scsi.h > > -- > 1.7.2.5 > > -- > You received this message because you are subscribed to the Google Groups > "Linux-iSCSI.org Target Development" group. >

Re: [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 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

Re: [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 > Cc: Zhi Yong Wu > Cc: Paolo Bonzini > Signed-off-by: Nicholas Bellinger > --- > hw/virtio-scsi.c |6 +

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

2012-07-11 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 > Cc: Zhi Yong Wu > Cc: Paolo Bonzini > Signed-off-by: Nicholas Bellinger > --- > hw/virtio-scsi.c |6 +

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

2012-07-11 Thread Zhi Yong Wu
ts to scan 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 > Cc: Zhi Yong Wu > Cc: Paolo Bonzini >

Re: [PATCH] tcm_vhost: Fix tv_cmd completion -> release SGL memory leak

2012-07-04 Thread Zhi Yong Wu
t; tv_cmd->tvc_sgl in vhost_scsi_free_cmd() ahead of tv_cmd descriptor free. > > Cc: Stefan Hajnoczi > Cc: Zhi Yong Wu > Cc: Michael S. Tsirkin > Signed-off-by: Nicholas Bellinger > --- > drivers/vhost/tcm_vhost.c |2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) >

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

2012-05-26 Thread Zhi Yong Wu
point we've given it our best shot: > we already checked that port peers can receive.  If they error out now > there's not much we can do.  The packet is dropped for that particular > peer but at least we tried to deliver it when they claimed to be ready. Yeah, i think tha

Re: [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 wrote: > On 2012-05-25 11:44, Zhi Yong Wu wrote: >> On Fri, May 25, 2012 at 10:40 PM, Jan Kiszka wrote: >>> On 2012-05-25 11:25, Zhi Yong Wu wrote: >>>>>> diff --git a/net/hub.c b/net/hub.c >>>>>>

Re: [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 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

Re: [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 wrote: > On 2012-05-25 11:02, zwu.ker...@gmail.com wrote: >> From: Zhi Yong Wu >> >> Reviewed-by:   Jan Kiszka   > > Please don't put reviewed-by tags here before the reviewer had a chance > to look at the co

Re: [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 wrote: > On 2012-05-25 09:00, Zhi Yong Wu wrote: >> On Fri, May 25, 2012 at 4:34 AM, Jan Kiszka wrote: >>> On 2012-05-24 14:59, zwu.ker...@gmail.com wrote: >>>> From: Zhi Yong Wu >>>> >>>> Signe

Re: [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 wrote: > On 2012-05-24 14:59, zwu.ker...@gmail.com wrote: >> From: Zhi Yong Wu >> >> Signed-off-by: Zhi Yong Wu >> --- >>  net.c     |    7 ++- >>  net/hub.c |    2 +- >>  2 files changed, 7 insertions(

Re: [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 wrote: > Il 25/05/2012 12:52, zwu.ker...@gmail.com ha scritto: >> From: Zhi Yong Wu >> >> Only when all other hub port's *peer* .can_receive() all return 1, the >> source hub port .can_receive() return 1.

Re: [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 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) >>

Re: [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 wrote: > Il 24/05/2012 19:59, zwu.ker...@gmail.com ha scritto: >> From: Zhi Yong Wu >> >> Signed-off-by: Zhi Yong Wu >> --- >>  net/hub.c   |   35 --- >>  net/hub.h   |    

Re: [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 wrote: > Il 24/05/2012 19:59, zwu.ker...@gmail.com ha scritto: >> From: Zhi Yong Wu >> >> Signed-off-by: Zhi Yong Wu >> --- >>  net/hub.c   |   35 --- >>  net/hub.h   |    

Re: [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 wrote: > Il 24/05/2012 19:59, zwu.ker...@gmail.com ha scritto: >> From: Zhi Yong Wu >> >> Signed-off-by: Zhi Yong Wu >> --- >>  net/hub.c   |   35 --- >>  net/hub.h   |    

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

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

Re: [Qemu-devel] [PATCH v3 00/16] net: hub-based networking

2012-05-24 Thread Zhi Yong Wu
On Fri, May 25, 2012 at 4:53 AM, Luiz Capitulino wrote: > On Fri, 25 May 2012 01:59:06 +0800 > zwu.ker...@gmail.com wrote: > >> From: Zhi Yong Wu >> >> The patchset implements network hub stead of vlan. The main work was done by >> stefan, and i rebased it

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

2012-05-24 Thread Zhi Yong Wu
On Thu, May 24, 2012 at 10:43 PM, Jan Kiszka wrote: > On 2012-05-24 11:38, Zhi Yong Wu wrote: >> On Thu, May 24, 2012 at 10:31 PM, Jan Kiszka wrote: >>> On 2012-05-24 11:27, Zhi Yong Wu wrote: >>>> On Thu, May 24, 2012 at 10:25 PM, Jan Kiszka >>>> wro

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

2012-05-24 Thread Zhi Yong Wu
On Thu, May 24, 2012 at 10:43 PM, Jan Kiszka wrote: > On 2012-05-24 11:38, Zhi Yong Wu wrote: >> On Thu, May 24, 2012 at 10:31 PM, Jan Kiszka wrote: >>> On 2012-05-24 11:27, Zhi Yong Wu wrote: >>>> On Thu, May 24, 2012 at 10:25 PM, Jan Kiszka >>>> wro

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

2012-05-24 Thread Zhi Yong Wu
On Thu, May 24, 2012 at 10:31 PM, Jan Kiszka wrote: > On 2012-05-24 11:27, Zhi Yong Wu wrote: >> On Thu, May 24, 2012 at 10:25 PM, Jan Kiszka wrote: >>> Something mangled your reply and made it unreadable. Please retry. >> Sorry. let it look like below. Do you

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

2012-05-24 Thread Zhi Yong Wu
ce Center Embedded Linux -- Regards, Zhi Yong Wu -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

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

2012-05-24 Thread Zhi Yong Wu
On Thu, May 24, 2012 at 9:33 PM, Jan Kiszka wrote: > On 2012-05-24 09:34, Zhi Yong Wu wrote: >> On Thu, May 24, 2012 at 8:09 PM, Jan Kiszka wrote: >>> On 2012-05-23 23:42, Zhi Yong Wu wrote: >>>> On Wed, May 23, 2012 at 11:41 PM, Jan Kiszka >>>>

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

2012-05-24 Thread Zhi Yong Wu
On Thu, May 24, 2012 at 9:30 PM, Jan Kiszka wrote: > On 2012-05-24 09:27, Zhi Yong Wu wrote: >> On Thu, May 24, 2012 at 8:09 PM, Jan Kiszka wrote: >>> On 2012-05-23 23:42, Zhi Yong Wu wrote: >>>> On Wed, May 23, 2012 at 11:41 PM, Jan Kiszka >>>>

Re: [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 wrote: > On 2012-05-23 23:42, Zhi Yong Wu wrote: >> On Wed, May 23, 2012 at 11:41 PM, Jan Kiszka wrote: >>> On 2012-05-23 12:14, zwu.ker...@gmail.com wrote: >>>> From: Zhi Yong Wu >>>> >>>> S

Re: [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 wrote: > On 2012-05-23 23:42, Zhi Yong Wu wrote: >> On Wed, May 23, 2012 at 11:41 PM, Jan Kiszka wrote: >>> On 2012-05-23 12:14, zwu.ker...@gmail.com wrote: >>>> From: Zhi Yong Wu >>>> >>>> S

Re: [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 wrote: > On 2012-05-23 23:42, Zhi Yong Wu wrote: >> On Wed, May 23, 2012 at 11:41 PM, Jan Kiszka wrote: >>> On 2012-05-23 12:14, zwu.ker...@gmail.com wrote: >>>> From: Zhi Yong Wu >>>> >>>> S

Re: [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 wrote: > Il 24/05/2012 06:05, Zhi Yong Wu ha scritto: >> On Thu, May 24, 2012 at 12:00 AM, Paolo Bonzini wrote: >>> Il 23/05/2012 17:14, zwu.ker...@gmail.com ha scritto: >>>> From: Zhi Yong Wu >&g

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

2012-05-23 Thread Zhi Yong Wu
On Thu, May 24, 2012 at 12:00 AM, Paolo Bonzini wrote: > Il 23/05/2012 17:14, zwu.ker...@gmail.com ha scritto: >> From: Zhi Yong Wu >> >> Signed-off-by: Zhi Yong Wu >> --- >>  net/queue.c      |    4 ++-- >>  net/slirp.c      |    7 --- >&g

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

2012-05-23 Thread Zhi Yong Wu
On Wed, May 23, 2012 at 11:41 PM, Jan Kiszka wrote: > On 2012-05-23 12:14, zwu.ker...@gmail.com wrote: >> From: Zhi Yong Wu >> >> Signed-off-by: Zhi Yong Wu >> --- >>  net.c |    1 - >>  1 files changed, 0 insertions(+), 1 deletions(-) >> >> d

Re: Adding an IPMI BMC device to KVM

2012-05-07 Thread Zhi Yong Wu
> > Thanks, > > -corey > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majord...@vger.kernel.org > More majordomo info at  http://vger.kernel.org/majordomo-info.html -- Regards, Zhi Yong Wu -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 0/2] adding tracepoints to vhost

2012-04-10 Thread Zhi Yong Wu
On Tue, Apr 10, 2012 at 9:45 PM, Michael S. Tsirkin wrote: > On Tue, Apr 10, 2012 at 09:10:48PM +0800, Zhi Yong Wu wrote: >> >> Perhaps this can replace the vhost log feature?  I'm not sure if >> >> tracepoints support the right data types but it seems like vho

Re: [PATCH 0/2] adding tracepoints to vhost

2012-04-10 Thread Zhi Yong Wu
ode. >> >> Stefan > > vhost log is not a debugging tool, it logs memory accesses for > migration. Great, it is very appreciated if there's some docs about this > ___ > Virtualization mailing list > virtualizat...@lists.linux

Re: [Qemu-devel] [PATCH v1 09/12] net: Rename non_vlan_clients to net_clients

2012-03-13 Thread Zhi Yong Wu
int-to-point >> clients which are connected to a peer.  It's time to rename the global >> list of net clients since it no longer refers to vlans at all. >> >> Signed-off-by: Stefan Hajnoczi >> Signed-off-by: Zhi Yong Wu >> --- >>  net.c |   20 ++

Re: [PATCH v1 01/12] net: Add a hub net client

2012-03-12 Thread Zhi Yong Wu
On Mon, Mar 12, 2012 at 5:12 PM, Paolo Bonzini wrote: > Il 12/03/2012 09:59, Zhi Yong Wu ha scritto: >>> However, then I noticed that qemu_can_send_packet is not called very >>> much, and I do not understand why qemu_net_queue_send and >>> qemu_net_queue_send_iov do

Re: [PATCH v1 01/12] net: Add a hub net client

2012-03-12 Thread Zhi Yong Wu
. > BTW, an additional cleanup that you can do on top is to remove the > deliver/deliver_iov function pointers in net/queue.c and > qemu_new_net_queue, because they will always be qemu_deliver_packet and > qemu_deliver_packet_iov. > > ? > > Paolo -- Regards, Zhi Yong Wu -- To unsubs

Re: VMXON region vs VMCS region?

2012-02-07 Thread Zhi Yong Wu
On Wed, Feb 8, 2012 at 1:52 AM, Orit Wasserman wrote: > On 02/07/2012 05:09 PM, Zhi Yong Wu wrote: >> On Tue, Jan 31, 2012 at 8:29 PM, Orit Wasserman wrote: >>> On 01/31/2012 05:35 AM, Zhi Yong Wu wrote: >>>> HI, >>>> >>>> Can anyone let

Re: VMXON region vs VMCS region?

2012-02-07 Thread Zhi Yong Wu
On Tue, Jan 31, 2012 at 8:29 PM, Orit Wasserman wrote: > On 01/31/2012 05:35 AM, Zhi Yong Wu wrote: >> HI, >> >> Can anyone let me know know the difference  between VMXON region and >> VMCS region? relationship? >> > > There is no relationship between them

Re: VMXON region vs VMCS region?

2012-01-31 Thread Zhi Yong Wu
On Tue, Jan 31, 2012 at 8:29 PM, Orit Wasserman wrote: > On 01/31/2012 05:35 AM, Zhi Yong Wu wrote: >> HI, >> >> Can anyone let me know know the difference  between VMXON region and >> VMCS region? relationship? >> > > There is no relationship between them

VMXON region vs VMCS region?

2012-01-30 Thread Zhi Yong Wu
HI, Can anyone let me know know the difference between VMXON region and VMCS region? relationship? It will be appreciated if you can make some comments. -- Regards, Zhi Yong Wu -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message

Re: [PATCH] vhost-net: add module alias (v2)

2012-01-11 Thread Zhi Yong Wu
   255                     Reserved for MISC_DYNAMIC_MINOR > > > > ___ > Virtualization mailing list > virtualizat...@lists.linux-foundation.org > https://lists.linuxfoundation.org/mailman/listinfo/virtualization -- Regards, Zhi Yong Wu -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [Qemu-devel] qemu/qemu-kvm floppy regression brought by 212ec7baa28cc9d819234fed1541fc1423cfe3d8

2011-11-02 Thread Zhi Yong Wu
est and the file in it saved by me. My qemu.git/HEAD is commit e072ea2fd8fdceef64159b9596d3c15ce01bea91 Author: Anthony Liguori Date: Tue Nov 1 19:37:01 2011 -0500 Bump version to 1.0-rc0 Look out 1.0, here we come! Signed-off-by: Anthony Liguori > > Cheers, > > Lucas and Cl

Re: [Qemu-devel] qemu/qemu-kvm floppy regression brought by 212ec7baa28cc9d819234fed1541fc1423cfe3d8

2011-10-30 Thread Zhi Yong Wu
On Fri, Oct 28, 2011 at 7:46 PM, Lucas Meneghel Rodrigues wrote: > On 10/27/2011 11:17 PM, Zhi Yong Wu wrote: >> >> On Fri, Oct 28, 2011 at 2:57 AM, Lucas Meneghel Rodrigues >>  wrote: >>> >>> On 10/27/2011 05:17 AM, Stefan Hajnoczi wrote: >>>

Re: [Qemu-devel] qemu/qemu-kvm floppy regression brought by 212ec7baa28cc9d819234fed1541fc1423cfe3d8

2011-10-28 Thread Zhi Yong Wu
On Fri, Oct 28, 2011 at 6:24 PM, Zhi Yong Wu wrote: > On Fri, Oct 28, 2011 at 10:20 AM, Lucas Meneghel Rodrigues > wrote: >> On Thu 27 Oct 2011 11:17:48 PM BRST, Zhi Yong Wu wrote: >>> >>> On Fri, Oct 28, 2011 at 2:57 AM, Lucas Meneghel Rodrigues >>>  

Re: [Qemu-devel] qemu/qemu-kvm floppy regression brought by 212ec7baa28cc9d819234fed1541fc1423cfe3d8

2011-10-28 Thread Zhi Yong Wu
On Fri, Oct 28, 2011 at 10:20 AM, Lucas Meneghel Rodrigues wrote: > On Thu 27 Oct 2011 11:17:48 PM BRST, Zhi Yong Wu wrote: >> >> On Fri, Oct 28, 2011 at 2:57 AM, Lucas Meneghel Rodrigues >>  wrote: >>> >>> On 10/27/2011 05:17 AM, Stefan Hajnoczi wrote:

Re: [Qemu-devel] qemu/qemu-kvm floppy regression brought by 212ec7baa28cc9d819234fed1541fc1423cfe3d8

2011-10-27 Thread Zhi Yong Wu
t;>> errors unless --disable-werror is passed to the configure script. >> >> I think blkqueue is an older development branch of the "block queue" >> feature that Kevin was working on.  It is not Kevin's block tree (see >> his "block" branch).

Re: [Qemu-devel] [PATCH v8 1/4] block: add the block queue support

2011-10-18 Thread Zhi Yong Wu
On Tue, Oct 18, 2011 at 5:56 PM, Kevin Wolf wrote: > Am 18.10.2011 11:29, schrieb Zhi Yong Wu: >>>>>>>> +void qemu_del_block_queue(BlockQueue *queue) >>>>>>>> +{ >>>>>>>> +    BlockQueueAIOCB *request, *next; >>

Re: [Qemu-devel] [PATCH v8 1/4] block: add the block queue support

2011-10-18 Thread Zhi Yong Wu
On Tue, Oct 18, 2011 at 4:36 PM, Kevin Wolf wrote: > Am 18.10.2011 10:07, schrieb Zhi Yong Wu: >> On Mon, Oct 17, 2011 at 6:17 PM, Kevin Wolf wrote: >>>>>> + >>>>>> +typedef struct BlockQueueAIOCB BlockQueueAIOCB; >>>>>>

Re: [Qemu-devel] [PATCH v8 3/4] block: add block timer and throttling algorithm

2011-10-18 Thread Zhi Yong Wu
On Mon, Oct 17, 2011 at 6:26 PM, Kevin Wolf wrote: > Am 26.09.2011 09:24, schrieb Zhi Yong Wu: >> On Sat, Sep 24, 2011 at 12:19 AM, Kevin Wolf wrote: >>> Am 08.09.2011 12:11, schrieb Zhi Yong Wu: >>>> Note: >>>>      1.) When bps/iops limits are specifie

Re: [Qemu-devel] [PATCH v8 3/4] block: add block timer and throttling algorithm

2011-10-18 Thread Zhi Yong Wu
On Mon, Oct 17, 2011 at 11:54 PM, Stefan Hajnoczi wrote: > On Mon, Oct 17, 2011 at 11:26 AM, Kevin Wolf wrote: >> Am 26.09.2011 09:24, schrieb Zhi Yong Wu: >>> On Sat, Sep 24, 2011 at 12:19 AM, Kevin Wolf wrote: >>>> Am 08.09.2011 12:11, schrieb Zhi Yong Wu: >&

Re: [Qemu-devel] [PATCH v8 2/4] block: add the command line support

2011-10-18 Thread Zhi Yong Wu
On Mon, Oct 17, 2011 at 6:19 PM, Kevin Wolf wrote: > Am 26.09.2011 08:15, schrieb Zhi Yong Wu: >> On Fri, Sep 23, 2011 at 11:54 PM, Kevin Wolf wrote: >>>> +} >>>> + >>>> +static void bdrv_block_timer(void *opaque) >>>> +{ >>>

Re: [Qemu-devel] [PATCH v8 1/4] block: add the block queue support

2011-10-18 Thread Zhi Yong Wu
On Mon, Oct 17, 2011 at 6:17 PM, Kevin Wolf wrote: > Am 26.09.2011 10:01, schrieb Zhi Yong Wu: >> On Fri, Sep 23, 2011 at 11:32 PM, Kevin Wolf wrote: >>> Am 08.09.2011 12:11, schrieb Zhi Yong Wu: >>>> Signed-off-by: Zhi Yong Wu >>>> --- >>>>

Re: [Qemu-devel] [PATCH v8 1/4] block: add the block queue support

2011-10-18 Thread Zhi Yong Wu
s. i will modify as below: >> >  ret = (res == NULL) ? false : true; >> >> ret = (res != NULL) is really more readable. > > "return (res != NULL);" is even nicer! :) Great, thanks > > Paolo > > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majord...@vger.kernel.org > More majordomo info at  http://vger.kernel.org/majordomo-info.html > -- Regards, Zhi Yong Wu -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] virtio-9p: fix QEMU build break

2011-10-10 Thread Zhi Yong Wu
On Tue, Oct 11, 2011 at 12:49 AM, Aneesh Kumar K.V wrote: > On Mon, 10 Oct 2011 22:05:21 +0530, "Aneesh Kumar K.V" > wrote: >> On Mon, 10 Oct 2011 18:30:28 +0800, Zhi Yong Wu >> wrote: >> > qemu build break due to the redefinition of struct f

[PATCH] virtio-9p: fix QEMU build break

2011-10-10 Thread Zhi Yong Wu
0-9.x86_64 Signed-off-by: Zhi Yong Wu --- hw/9pfs/virtio-9p-handle.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/9pfs/virtio-9p-handle.c b/hw/9pfs/virtio-9p-handle.c index 5c8b5ed..5b3a867 100644 --- a/hw/9pfs/virtio-9p-handle.c +++ b/hw/9pfs/virtio-9p-handle.c @@ -

Re: [PATCH v8 3/4] block: add block timer and throttling algorithm

2011-09-26 Thread Zhi Yong Wu
On Tue, Sep 20, 2011 at 8:34 PM, Marcelo Tosatti wrote: > On Mon, Sep 19, 2011 at 05:55:41PM +0800, Zhi Yong Wu wrote: >> On Wed, Sep 14, 2011 at 6:50 PM, Marcelo Tosatti wrote: >> > On Tue, Sep 13, 2011 at 11:09:46AM +0800, Zhi Yong Wu wrote: >> >> On Fri, Se

Re: [Qemu-devel] [PATCH v8 1/4] block: add the block queue support

2011-09-26 Thread Zhi Yong Wu
On Fri, Sep 23, 2011 at 11:32 PM, Kevin Wolf wrote: > Am 08.09.2011 12:11, schrieb Zhi Yong Wu: >> Signed-off-by: Zhi Yong Wu >> --- >>  Makefile.objs     |    2 +- >>  block/blk-queue.c |  201 >> +

Re: [PATCH v8 3/4] block: add block timer and throttling algorithm

2011-09-26 Thread Zhi Yong Wu
On Sat, Sep 24, 2011 at 12:19 AM, Kevin Wolf wrote: > Am 08.09.2011 12:11, schrieb Zhi Yong Wu: >> Note: >>      1.) When bps/iops limits are specified to a small value such as 511 >> bytes/s, this VM will hang up. We are considering how to handle this senario. >>  

Re: [PATCH v8 2/4] block: add the command line support

2011-09-25 Thread Zhi Yong Wu
On Fri, Sep 23, 2011 at 11:54 PM, Kevin Wolf wrote: > Am 08.09.2011 12:11, schrieb Zhi Yong Wu: >> Signed-off-by: Zhi Yong Wu >> --- >>  block.c         |   59 >> +++ >>  block.h         |    5 >>  b

Re: [PATCH v8 3/4] block: add block timer and throttling algorithm

2011-09-21 Thread Zhi Yong Wu
On Tue, Sep 20, 2011 at 8:34 PM, Marcelo Tosatti wrote: > On Mon, Sep 19, 2011 at 05:55:41PM +0800, Zhi Yong Wu wrote: >> On Wed, Sep 14, 2011 at 6:50 PM, Marcelo Tosatti wrote: >> > On Tue, Sep 13, 2011 at 11:09:46AM +0800, Zhi Yong Wu wrote: >> >> On Fri, Se

Re: [PATCH v8 3/4] block: add block timer and throttling algorithm

2011-09-20 Thread Zhi Yong Wu
On Wed, Sep 21, 2011 at 11:14 AM, Zhi Yong Wu wrote: > On Tue, Sep 20, 2011 at 8:34 PM, Marcelo Tosatti wrote: >> On Mon, Sep 19, 2011 at 05:55:41PM +0800, Zhi Yong Wu wrote: >>> On Wed, Sep 14, 2011 at 6:50 PM, Marcelo Tosatti >>> wrote: >>> > On Tue

Re: [PATCH v8 3/4] block: add block timer and throttling algorithm

2011-09-20 Thread Zhi Yong Wu
On Tue, Sep 20, 2011 at 8:34 PM, Marcelo Tosatti wrote: > On Mon, Sep 19, 2011 at 05:55:41PM +0800, Zhi Yong Wu wrote: >> On Wed, Sep 14, 2011 at 6:50 PM, Marcelo Tosatti wrote: >> > On Tue, Sep 13, 2011 at 11:09:46AM +0800, Zhi Yong Wu wrote: >> >> On Fri, Se

Re: [PATCH v8 3/4] block: add block timer and throttling algorithm

2011-09-19 Thread Zhi Yong Wu
On Wed, Sep 14, 2011 at 6:50 PM, Marcelo Tosatti wrote: > On Tue, Sep 13, 2011 at 11:09:46AM +0800, Zhi Yong Wu wrote: >> On Fri, Sep 9, 2011 at 10:44 PM, Marcelo Tosatti wrote: >> > On Thu, Sep 08, 2011 at 06:11:07PM +0800, Zhi Yong Wu wrote: >> >> Note: >>

Re: [PATCH v8 3/4] block: add block timer and throttling algorithm

2011-09-12 Thread Zhi Yong Wu
On Fri, Sep 9, 2011 at 10:44 PM, Marcelo Tosatti wrote: > On Thu, Sep 08, 2011 at 06:11:07PM +0800, Zhi Yong Wu wrote: >> Note: >>      1.) When bps/iops limits are specified to a small value such as 511 >> bytes/s, this VM will hang up. We are considering how to handle this

[PATCH v8 0/4] The intro of QEMU block I/O throttling

2011-09-08 Thread Zhi Yong Wu
, this VM will hang up. We are considering how to handle this senario. Changes since code V7: fix the build per patch based on stefan's comments. Zhi Yong Wu (4): block: add the command line support block: add the block queue support block: add block timer and throttling algorithm qm

[PATCH v8 4/4] qmp/hmp: add block_set_io_throttle

2011-09-08 Thread Zhi Yong Wu
The patch introduce one new command block_set_io_throttle; For its usage syntax, if you have better idea, pls let me know. Signed-off-by: Zhi Yong Wu --- block.c | 26 +++- blockdev.c | 69 +++ blockdev.h

[PATCH v8 3/4] block: add block timer and throttling algorithm

2011-09-08 Thread Zhi Yong Wu
speed will slightly bigger than the limits. For these problems, if you have nice thought, pls let us know.:) Signed-off-by: Zhi Yong Wu --- block.c | 259 --- block.h |1 - 2 files changed, 248 insertions(+), 12 deletions(-) di

[PATCH v8 2/4] block: add the command line support

2011-09-08 Thread Zhi Yong Wu
Signed-off-by: Zhi Yong Wu --- block.c | 59 +++ block.h |5 block_int.h |3 ++ blockdev.c | 29 +++ qemu-config.c | 24 ++ qemu-options.hx |1 + 6

[PATCH v8 1/4] block: add the block queue support

2011-09-08 Thread Zhi Yong Wu
Signed-off-by: Zhi Yong Wu --- Makefile.objs |2 +- block/blk-queue.c | 201 + block/blk-queue.h | 59 block_int.h | 27 +++ 4 files changed, 288 insertions(+), 1 deletions(-) create mode 100644 block

[PATCH v8 1/4] block: add the block queue support

2011-09-07 Thread Zhi Yong Wu
Signed-off-by: Zhi Yong Wu --- Makefile.objs |2 +- block/blk-queue.c | 184 + block/blk-queue.h | 59 + block_int.h | 27 4 files changed, 271 insertions(+), 1 deletions(-) create mode 100644 block

[PATCH v8 3/4] block: add block timer and throttling algorithm

2011-09-07 Thread Zhi Yong Wu
speed will slightly bigger than the limits. For these problems, if you have nice thought, pls let us know.:) Signed-off-by: Zhi Yong Wu --- block.c | 246 --- block.h |1 - 2 files changed, 236 insertions(+), 11 deletions(-) di

[PATCH v8 2/4] block: add the command line support

2011-09-07 Thread Zhi Yong Wu
Signed-off-by: Zhi Yong Wu --- block.c | 59 +++ block.h |5 block_int.h |3 ++ blockdev.c | 29 +++ qemu-config.c | 24 ++ qemu-options.hx |1 + 6

[PATCH v8 0/4] The intro of QEMU block I/O throttling

2011-09-07 Thread Zhi Yong Wu
, this VM will hang up. We are considering how to handle this senario. Changes since code V7: fix the build per patch based on stefan's comments. Zhi Yong Wu (4): block: add the command line support block: add the block queue support block: add block timer and throttling algorithm qm

[PATCH v8 4/4] qmp/hmp: add block_set_io_throttle

2011-09-07 Thread Zhi Yong Wu
The patch introduce one new command block_set_io_throttle; For its usage syntax, if you have better idea, pls let me know. Signed-off-by: Zhi Yong Wu --- block.c | 26 +++- blockdev.c | 69 +++ blockdev.h

Re: [PATCH 2/2] tools/virtio: virtio_test tool

2011-09-06 Thread Zhi Yong Wu
s) > +                       break; > +               if (virtqueue_enable_cb(vq->vq)) { > +                       wait_for_interrupt(dev); > +               } > +       } > +       test = 0; > +       r = ioctl(dev->control, VHOST_TEST_RUN, &test); > +       assert(r >= 0); > +       fprintf(stderr, "spurious wakeus: 0x%llx\n", spurious); > +} > + > +const char optstring[] = "h"; > +const struct option longopts[] = { > +       { > +               .name = "help", > +               .val = 'h', > +       }, > +       { > +               .name = "indirect", > +               .val = 'I', > +       }, > +       { > +               .name = "no-indirect", > +               .val = 'i', > +       }, > +       { > +       } > +}; > + > +static void help() > +{ > +       fprintf(stderr, "Usage: virtio_test [--help] [--no-indirect]\n"); > +} > + > +int main(int argc, char **argv) > +{ > +       struct vdev_info dev; > +       unsigned long long features = 1ULL << VIRTIO_RING_F_INDIRECT_DESC; > +       int o; > + > +       for (;;) { > +               o = getopt_long(argc, argv, optstring, longopts, NULL); > +               switch (o) { > +               case -1: > +                       goto done; > +               case '?': > +                       help(); > +                       exit(2); > +               case 'h': > +                       help(); > +                       goto done; > +               case 'i': > +                       features &= ~(1ULL << VIRTIO_RING_F_INDIRECT_DESC); > +                       break; > +               default: > +                       assert(0); > +                       break; > +               } > +       } > + > +done: > +       vdev_info_init(&dev, features); > +       vq_info_add(&dev, 256); > +       run_test(&dev, &dev.vqs[0], 0x10); > +       return 0; > +} > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majord...@vger.kernel.org > More majordomo info at  http://vger.kernel.org/majordomo-info.html > -- Regards, Zhi Yong Wu -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH v7 3/4] block: add block timer and throttling algorithm

2011-09-06 Thread Zhi Yong Wu
speed will slightly bigger than the limits. For these problems, if you have nice thought, pls let us know.:) Signed-off-by: Zhi Yong Wu --- block.c| 297 ++-- block.h|6 +- blockdev.c | 69 ++ 3 files changed, 3

[PATCH v7 4/4] qmp/hmp: add block_set_io_throttle

2011-09-06 Thread Zhi Yong Wu
The patch introduce one new command block_set_io_throttle; For its usage syntax, if you have better idea, pls let me know. Signed-off-by: Zhi Yong Wu --- block.c | 26 -- hmp-commands.hx | 15 +++ qerror.c|4 qerror.h

[PATCH v7 2/4] block: add the block queue support

2011-09-06 Thread Zhi Yong Wu
Signed-off-by: Zhi Yong Wu --- Makefile.objs |2 +- block/blk-queue.c | 184 + block/blk-queue.h | 59 + 3 files changed, 244 insertions(+), 1 deletions(-) create mode 100644 block/blk-queue.c create mode 100644

[PATCH v7 1/4] block: add the command line support

2011-09-06 Thread Zhi Yong Wu
Signed-off-by: Zhi Yong Wu --- block.c |8 block_int.h | 30 ++ blockdev.c | 29 + blockdev.h |2 ++ qemu-config.c | 24 qemu-options.hx |1 + 6 files changed, 94

[PATCH v7 0/4] The intro of QEMU block I/O throttling

2011-09-06 Thread Zhi Yong Wu
, this VM will hang up. We are considering how to handle this senario. Changes since code V6: Mainly simply the block queue. Adjust codes based on stefan's comments. Zhi Yong Wu (4): block: add the command line support block: add the block queue support block: add block timer and throt

[PATCH v6 4/4] qmp/hmp: add block_set_io_throttle

2011-09-01 Thread Zhi Yong Wu
The patch introduce one new command block_set_io_throttle; For its usage syntax, if you have better idea, pls let me know. Signed-off-by: Zhi Yong Wu --- block.c | 26 +++- block.h |1 - blockdev.c | 69

[PATCH v6 3/4] block: add block timer and block throttling algorithm

2011-09-01 Thread Zhi Yong Wu
speed will slightly bigger than the limits. For these problems, if you have nice thought, pls let us know.:) Signed-off-by: Zhi Yong Wu --- block.c | 290 +-- block.h |5 + block_int.h |9 ++ 3 files changed, 296 insert

[PATCH v6 2/4] block: add the block queue support

2011-09-01 Thread Zhi Yong Wu
Signed-off-by: Zhi Yong Wu --- Makefile.objs |2 +- block/blk-queue.c | 226 + block/blk-queue.h | 63 +++ 3 files changed, 290 insertions(+), 1 deletions(-) create mode 100644 block/blk-queue.c create mode 100644 block

[PATCH v6 1/4] block: add the command line support

2011-09-01 Thread Zhi Yong Wu
Signed-off-by: Zhi Yong Wu --- block.c |8 block_int.h | 21 + blockdev.c | 29 + qemu-config.c | 24 qemu-options.hx |1 + 5 files changed, 83 insertions(+), 0 deletions(-) diff

[PATCH v6 0/4] The intro of QEMU block I/O throttling

2011-09-01 Thread Zhi Yong Wu
, this VM will hang up. We are considering how to handle this senario. Changes since code V5: Mainly fix the aio callback issue for block queue. Adjust codes based on Ram Pai's comments. Zhi Yong Wu (4): block: add the command line support block: add the block queue support block: add

Re: [Help]: How to setup a VM based on kernel source code.

2011-08-20 Thread Zhi Yong Wu
On Fri, Aug 19, 2011 at 9:14 PM, Stefan Hajnoczi wrote: > On Fri, Aug 19, 2011 at 10:58 AM, Zhi Yong Wu wrote: >> I have met one scenario; currently i want to set up a VM based on >> latest kernel tree; but i  only have latest kernel source code and >> compiled it on one

[Help]: How to setup a VM based on kernel source code.

2011-08-19 Thread Zhi Yong Wu
this experience, pls give me one hand. thanks. -- Regards, Zhi Yong Wu -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v5 2/4] block: add the block queue support

2011-08-12 Thread Zhi Yong Wu
On Fri, Aug 12, 2011 at 4:42 PM, Stefan Hajnoczi wrote: > On Fri, Aug 12, 2011 at 9:10 AM, Zhi Yong Wu wrote: >> On Tue, Aug 9, 2011 at 8:49 PM, Stefan Hajnoczi wrote: >>> On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu >>> wrote: >>>> +/* The APIs for

Re: [PATCH v5 2/4] block: add the block queue support

2011-08-12 Thread Zhi Yong Wu
On Tue, Aug 9, 2011 at 8:49 PM, Stefan Hajnoczi wrote: > On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu wrote: >> +/* The APIs for block request queue on qemu block layer. >> + */ >> + >> +static void qemu_block_queue_cancel(BlockDriverAIOCB *acb) >>

Re: [Qemu-devel] [PATCH v5 3/4] block: add block timer and block throttling algorithm

2011-08-11 Thread Zhi Yong Wu
On Fri, Aug 12, 2011 at 1:47 PM, Stefan Hajnoczi wrote: > On Fri, Aug 12, 2011 at 6:35 AM, Zhi Yong Wu wrote: >> On Tue, Aug 9, 2011 at 4:57 PM, Ram Pai wrote: >>> On Tue, Aug 09, 2011 at 12:17:51PM +0800, Zhi Yong Wu wrote: >>>> Note: >>>>       1

Re: [Qemu-devel] [PATCH v5 3/4] block: add block timer and block throttling algorithm

2011-08-11 Thread Zhi Yong Wu
On Tue, Aug 9, 2011 at 4:57 PM, Ram Pai wrote: > On Tue, Aug 09, 2011 at 12:17:51PM +0800, Zhi Yong Wu wrote: >> Note: >>       1.) When bps/iops limits are specified to a small value such as 511 >> bytes/s, this VM will hang up. We are considering how to handle this senar

Re: [PATCH v5 3/4] block: add block timer and block throttling algorithm

2011-08-11 Thread Zhi Yong Wu
On Fri, Aug 12, 2011 at 1:06 PM, Stefan Hajnoczi wrote: > On Fri, Aug 12, 2011 at 6:00 AM, Zhi Yong Wu wrote: >> On Wed, Aug 10, 2011 at 7:00 PM, Stefan Hajnoczi wrote: >>> On Wed, Aug 10, 2011 at 7:57 AM, Zhi Yong Wu wrote: >>>> On Tue, Aug 9, 2011 at 11:19 PM

Re: [PATCH v5 3/4] block: add block timer and block throttling algorithm

2011-08-11 Thread Zhi Yong Wu
On Wed, Aug 10, 2011 at 7:00 PM, Stefan Hajnoczi wrote: > On Wed, Aug 10, 2011 at 7:57 AM, Zhi Yong Wu wrote: >> On Tue, Aug 9, 2011 at 11:19 PM, Stefan Hajnoczi wrote: >>> On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu >>> wrote: >>>> Note: >>>&g

Re: [PATCH v5 2/4] block: add the block queue support

2011-08-11 Thread Zhi Yong Wu
On Wed, Aug 10, 2011 at 5:37 PM, Stefan Hajnoczi wrote: > On Wed, Aug 10, 2011 at 01:54:33PM +0800, Zhi Yong Wu wrote: >> On Tue, Aug 9, 2011 at 8:49 PM, Stefan Hajnoczi wrote: >> > On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu >> > wrote: >> >> +Blo

  1   2   >