[Qemu-devel] [PATCH]virtio: virtqueue_get_avail_bytes: fix desc_pa when loop over the indirect descriptor table

2013-08-21 Thread yinyin
virtqueue_get_avail_bytes: when found a indirect desc, we need loop over it. /* loop over the indirect descriptor table */ indirect = 1; max = vring_desc_len(desc_pa, i) / sizeof(VRingDesc); num_bufs = i = 0; desc_pa = vring_desc_addr(desc_pa,

[Qemu-devel] [qemu-devel]question on virtqueue_get_avail_bytes

2013-08-19 Thread yinyin
Hi,all: in func virtqueue_get_avail_bytes, when found a indirect desc, we need loop over it. /* loop over the indirect descriptor table */ indirect = 1; max = vring_desc_len(desc_pa, i) / sizeof(VRingDesc); num_bufs = i = 0; desc_

Re: [Qemu-devel] [PATCH 0/3] dataplane: virtio-blk live migration with x-data-plane=on

2013-07-23 Thread yinyin
Hi, 在 2013-7-23,下午5:30,Andreas Färber 写道: > Hi, > > Am 23.07.2013 11:19, schrieb yinyin: >> Hi, Stefan: >> during the migration, the source, not the destination, will start >> dataplane again >> I think the process of migration with dataplane as

Re: [Qemu-devel] [PATCH 0/3] dataplane: virtio-blk live migration with x-data-plane=on

2013-07-23 Thread yinyin
will happen there.Is it right? There is no crash found, I just use this trace to understand the flow of dataplane migration. Yin Yin yin@cs2c.com.cn 在 2013-7-23,下午4:51,Stefan Hajnoczi 写道: > On Fri, Jul 19, 2013 at 01:33:12PM +0800, yinyin wrote: >> I use systemtap to test

Re: [Qemu-devel] [PATCH 0/3] dataplane: virtio-blk live migration with x-data-plane=on

2013-07-19 Thread yinyin
hi, stefan: I use systemtap to test this patch,the migration will success. But I found the dataplane will start again after migration start. the virtio_blk_handle_output will start dataplane. virtio_blk_data_plane_stop pid:29037 tid:29037 0x6680fe : virtio_blk_data_plane_stop+0x0/0x232