On Sun, Apr 14, 2024 at 5:02 PM Michael S. Tsirkin wrote:
>
> On Fri, Apr 12, 2024 at 12:15:40PM +0200, Eugenio Perez Martin wrote:
> > Hi!
> >
> > I'm building a bridge to expose vhost-user devices through VDUSE. The
> > code is still immature but I'm able to forward packets using
> > dpdk-l2fwd
On Fri, Oct 6, 2023 at 8:08 PM Thomas Huth wrote:
>
> No need to declare a new variable with the same name here,
> we can simple re-use the one from the top of the function.
> With this change, the file now compiles fine with -Wshadow=local.
>
> Signed-off-by: Thomas Huth
> ---
Reviewed-by: Xie
On Wed, Apr 26, 2023 at 12:43 AM Stefan Hajnoczi wrote:
>
> On Fri, Apr 21, 2023 at 11:36:02AM +0800, Yongji Xie wrote:
> > Hi Stefan,
> >
> > On Thu, Apr 20, 2023 at 7:39 PM Stefan Hajnoczi wrote:
> > >
> > > vduse_blk_detach_ctx() waits for in-flight r
Hi Stefan,
On Thu, Apr 20, 2023 at 7:39 PM Stefan Hajnoczi wrote:
>
> vduse_blk_detach_ctx() waits for in-flight requests using
> AIO_WAIT_WHILE(). This is not allowed according to a comment in
> bdrv_set_aio_context_commit():
>
> /*
>* Take the old AioContex when detaching it from bs.
>
On Wed, Dec 21, 2022 at 3:27 AM Marcel Holtmann wrote:
>
> CC libvduse.o
> libvduse.c: In function ‘vring_set_avail_event’:
> libvduse.c:603:7: error: dereferencing type-punned pointer will break
> strict-aliasing rules [-Werror=strict-aliasin]
> 603 | *((uint16_t *)&vq->vring.used-
On Wed, Dec 21, 2022 at 3:27 AM Marcel Holtmann wrote:
>
> It seems there is no need to keep the inuse field signed and end up with
> compiler warnings for sign-compare.
>
> CC libvduse.o
> libvduse.c: In function ‘vduse_queue_pop’:
> libvduse.c:789:19: error: comparison of integer express
On Fri, Nov 11, 2022 at 8:45 PM Philippe Mathieu-Daudé
wrote:
>
> From: Philippe Mathieu-Daudé
>
> GCC 8 added a -Wstringop-truncation warning:
>
> The -Wstringop-truncation warning added in GCC 8.0 via r254630 for
> bug 81117 is specifically intended to highlight likely unintended
> uses o
Hi Stefano,
On Wed, Oct 26, 2022 at 5:12 PM Stefano Garzarella wrote:
>
> Hi Xie,
> I was testing libblkio [1] with QSD vduse-blk export and had some
> issues.
>
> In a nutshell, QSD prints me the following messages when using
> vhost-vdpa to access the device:
>
> Failed to get vq[0] iova mapp
On Fri, Oct 7, 2022 at 6:51 PM Ming Lei wrote:
>
> On Fri, Oct 07, 2022 at 06:04:29PM +0800, Yongji Xie wrote:
> > On Thu, Oct 6, 2022 at 7:24 PM Ming Lei wrote:
> > >
> > > On Wed, Oct 05, 2022 at 08:21:45AM -0400, Stefan Hajnoczi wrote:
> > > > On
On Thu, Oct 6, 2022 at 7:24 PM Ming Lei wrote:
>
> On Wed, Oct 05, 2022 at 08:21:45AM -0400, Stefan Hajnoczi wrote:
> > On Wed, 5 Oct 2022 at 00:19, Ming Lei wrote:
> > >
> > > On Tue, Oct 04, 2022 at 09:53:32AM -0400, Stefan Hajnoczi wrote:
> > > > On Tue, 4 Oct 2022 at 05:44, Ming Lei wrote:
>
On Tue, Sep 20, 2022 at 7:25 PM Markus Armbruster wrote:
>
> Philippe Mathieu-Daudé writes:
>
> > GCC 8 added a -Wstringop-truncation warning:
> >
> > The -Wstringop-truncation warning added in GCC 8.0 via r254630 for
> > bug 81117 is specifically intended to highlight likely unintended
> >
On Wed, Jun 29, 2022 at 9:22 PM Markus Armbruster wrote:
>
> Yongji Xie writes:
>
> > On Wed, Jun 29, 2022 at 7:39 PM Markus Armbruster wrote:
> >>
> >> Yongji Xie writes:
> >>
> >> > On Wed, Jun 29, 2022 at 5:41 PM Markus Armbrus
On Wed, Jun 29, 2022 at 7:39 PM Markus Armbruster wrote:
>
> Yongji Xie writes:
>
> > On Wed, Jun 29, 2022 at 5:41 PM Markus Armbruster wrote:
> >>
> >> Xie Yongji writes:
> >>
> >> > Coverity pointed out (CID 1490222, 1490227) that we cal
On Wed, Jun 29, 2022 at 5:41 PM Markus Armbruster wrote:
>
> Xie Yongji writes:
>
> > Coverity pointed out (CID 1490222, 1490227) that we called
> > ioctl somewhere without checking the return value. This
> > patch fixes these issues.
> >
> > Fixes: Coverity CID 1490222, 1490227
> > Signed-off-by
On Tue, Jun 28, 2022 at 8:26 AM Richard Henderson
wrote:
>
> On 6/27/22 14:32, Xie Yongji wrote:
> > -strcpy(dev_config->name, name);
> > +strncpy(dev_config->name, name, VDUSE_NAME_MAX);
> > +dev_config->name[VDUSE_NAME_MAX - 1] = '\0';
>
> g_strlcpy
>
Now we don't have a dependency
On Mon, Jun 27, 2022 at 12:45 PM Markus Armbruster wrote:
>
> Kevin Wolf writes:
>
> > From: Xie Yongji
> >
> > VDUSE [1] is a linux framework that makes it possible to implement
> > software-emulated vDPA devices in userspace. This adds a library
> > as a subproject to help implementing VDUSE b
On Tue, Jun 14, 2022 at 1:04 AM Kevin Wolf wrote:
>
> Am 09.06.2022 um 22:18 hat Richard Henderson geschrieben:
> > On 6/9/22 10:21, Kevin Wolf wrote:
> > > The following changes since commit
> > > 028f2361d0c2d28d6f918fe618f389228ac22b60:
> > >
> > >Merge tag 'pull-target-arm-20220609' of
>
On Fri, Jun 3, 2022 at 7:25 PM Maxime Coquelin
wrote:
>
> Hi Yongji,
>
> On 5/23/22 10:46, Xie Yongji wrote:
> > VDUSE [1] is a linux framework that makes it possible to implement
> > software-emulated vDPA devices in userspace. This adds a library
> > as a subproject to help implementing VDUSE ba
On Mon, Jun 6, 2022 at 7:05 PM Stefan Hajnoczi wrote:
>
> On Wed, Jun 01, 2022 at 09:10:58PM +0800, Yongji Xie wrote:
> > On Wed, Jun 1, 2022 at 9:03 PM Stefan Hajnoczi wrote:
> > >
> > > On Tue, May 31, 2022 at 05:52:21PM +0800, Xie Yongji wrote:
> > > >
On Wed, Jun 1, 2022 at 9:03 PM Stefan Hajnoczi wrote:
>
> On Tue, May 31, 2022 at 05:52:21PM +0800, Xie Yongji wrote:
> > Currently we use 'id' option as the name of VDUSE device.
> > It's a bit confusing since we use one value for two different
> > purposes: the ID to identfy the export within QE
On Fri, May 27, 2022 at 11:34 PM Kevin Wolf wrote:
>
> Am 23.05.2022 um 10:46 hat Xie Yongji geschrieben:
> > This implements a VDUSE block backends based on
> > the libvduse library. We can use it to export the BDSs
> > for both VM and container (host) usage.
> >
> > The new command-line syntax i
On Wed, May 25, 2022 at 8:19 PM Stefan Hajnoczi wrote:
>
> Document vduse-blk exports in qemu-storage-daemon --help and the
> qemu-storage-daemon(1) man page.
>
> Based-on: <20220523084611.91-1-xieyon...@bytedance.com>
> Cc: Xie Yongji
> Signed-off-by: Stefan Hajnoczi
> ---
> docs/tools/qemu-st
On Wed, May 25, 2022 at 7:02 PM Stefan Hajnoczi wrote:
>
> On Mon, May 23, 2022 at 04:46:03PM +0800, Xie Yongji wrote:
> > Hi all,
> >
> > Last few months ago, VDUSE (vDPA Device in Userspace) [1] has
> > been merged into Linux kernel as a framework that make it
> > possible to emulate a vDPA devi
On Wed, May 25, 2022 at 8:48 PM Stefan Hajnoczi wrote:
>
> On Mon, May 23, 2022 at 04:46:03PM +0800, Xie Yongji wrote:
> > Hi all,
> >
> > Last few months ago, VDUSE (vDPA Device in Userspace) [1] has
> > been merged into Linux kernel as a framework that make it
> > possible to emulate a vDPA devi
On Thu, May 19, 2022 at 5:44 PM Stefan Hajnoczi wrote:
>
> On Thu, May 19, 2022 at 04:25:13PM +0800, Yongji Xie wrote:
> > On Wed, May 18, 2022 at 10:03 PM Stefan Hajnoczi
> > wrote:
> > >
> > > On Wed, May 04, 2022 at 03:40:51PM +0800, Xie Yongji wrote:
>
On Wed, May 18, 2022 at 10:03 PM Stefan Hajnoczi wrote:
>
> On Wed, May 04, 2022 at 03:40:51PM +0800, Xie Yongji wrote:
> > @@ -291,6 +294,15 @@ static int vduse_blk_exp_create(BlockExport *exp,
> > BlockExportOptions *opts,
> > return -ENOMEM;
> > }
> >
> > +vblk_exp->recon_fil
On Wed, May 18, 2022 at 9:46 PM Stefan Hajnoczi wrote:
>
> On Wed, May 04, 2022 at 03:40:48PM +0800, Xie Yongji wrote:
> > +static int vduse_queue_update_vring(VduseVirtq *vq, uint64_t desc_addr,
> > +uint64_t avail_addr, uint64_t
> > used_addr)
> > +{
> > +
On Wed, May 18, 2022 at 9:14 PM Stefan Hajnoczi wrote:
>
> On Wed, May 04, 2022 at 03:40:46PM +0800, Xie Yongji wrote:
> > -static void vu_blk_req_complete(VuBlkReq *req)
> > +static void vu_blk_req_complete(VuBlkReq *req, size_t in_len)
> > {
> > VuDev *vu_dev = &req->server->vu_dev;
> >
>
On Wed, May 18, 2022 at 9:17 PM Stefan Hajnoczi wrote:
>
> On Wed, May 04, 2022 at 03:40:45PM +0800, Xie Yongji wrote:
> > Support getting the guest block size for the block backend.
> > It's needed for the following commit.
> >
> > Signed-off-by: Xie Yongji
> > ---
> > block/block-backend.c
On Fri, May 13, 2022 at 6:03 PM Michael S. Tsirkin wrote:
>
> On Wed, May 04, 2022 at 03:40:43PM +0800, Xie Yongji wrote:
> > Hi all,
> >
> > Last few months ago, VDUSE (vDPA Device in Userspace) [1] has
> > been merged into Linux kernel as a framework that make it
> > possible to emulate a vDPA d
On Wed, Apr 27, 2022 at 9:22 PM Kevin Wolf wrote:
>
> Am 27.04.2022 um 05:11 hat Yongji Xie geschrieben:
> > On Wed, Apr 27, 2022 at 1:03 AM Kevin Wolf wrote:
> > >
> > > Am 06.04.2022 um 09:59 hat Xie Yongji geschrieben:
> > > > This implements a
On Wed, Apr 27, 2022 at 1:03 AM Kevin Wolf wrote:
>
> Am 06.04.2022 um 09:59 hat Xie Yongji geschrieben:
> > This implements a VDUSE block backends based on
> > the libvduse library. We can use it to export the BDSs
> > for both VM and container (host) usage.
> >
> > The new command-line syntax is
On Mon, Mar 21, 2022 at 9:25 PM Eric Blake wrote:
>
> On Mon, Mar 21, 2022 at 03:14:37PM +0800, Xie Yongji wrote:
> > This implements a VDUSE block backends based on
> > the libvduse library. We can use it to export the BDSs
> > for both VM and container (host) usage.
> >
> > The new command-line
On Wed, Mar 16, 2022 at 11:51 PM Stefan Hajnoczi wrote:
>
> On Wed, Mar 16, 2022 at 09:49:19PM +0800, Yongji Xie wrote:
> > On Wed, Mar 16, 2022 at 9:28 PM Stefan Hajnoczi wrote:
> > >
> > > On Tue, Mar 15, 2022 at 07:38:12PM +0800, Yongji Xie wrote:
> >
On Wed, Mar 16, 2022 at 9:28 PM Stefan Hajnoczi wrote:
>
> On Tue, Mar 15, 2022 at 07:38:12PM +0800, Yongji Xie wrote:
> > On Tue, Mar 15, 2022 at 5:48 PM Stefan Hajnoczi wrote:
> > >
> > > On Tue, Feb 15, 2022 at 06:59:40PM +0800, Xie Yongji wrote:
> > >
On Wed, Mar 16, 2022 at 8:16 PM Stefan Hajnoczi wrote:
>
> On Tue, Mar 15, 2022 at 07:52:03PM +0800, Yongji Xie wrote:
> > On Tue, Mar 15, 2022 at 7:08 PM Stefan Hajnoczi wrote:
> > >
> > > On Tue, Feb 15, 2022 at 06:59:41PM +0800, Xie Yongji wrote:
> > > &
On Tue, Mar 15, 2022 at 9:48 PM Stefan Hajnoczi wrote:
>
> On Tue, Feb 15, 2022 at 06:59:43PM +0800, Xie Yongji wrote:
> > +static int vduse_queue_inflight_get(VduseVirtq *vq, int desc_idx)
> > +{
> > +vq->log->inflight.desc[desc_idx].counter = vq->counter++;
> > +vq->log->inflight.desc[de
On Tue, Mar 15, 2022 at 7:08 PM Stefan Hajnoczi wrote:
>
> On Tue, Feb 15, 2022 at 06:59:41PM +0800, Xie Yongji wrote:
> > This implements a VDUSE block backends based on
> > the libvduse library. We can use it to export the BDSs
> > for both VM and container (host) usage.
> >
> > The new command-
On Tue, Mar 15, 2022 at 5:48 PM Stefan Hajnoczi wrote:
>
> On Tue, Feb 15, 2022 at 06:59:40PM +0800, Xie Yongji wrote:
> > VDUSE [1] is a linux framework that makes it possible to implement
> > software-emulated vDPA devices in userspace. This adds a library
> > as a subproject to help implementin
On Tue, Feb 8, 2022 at 4:09 PM Stefan Hajnoczi wrote:
>
> On Tue, Feb 08, 2022 at 03:35:27PM +0800, Yongji Xie wrote:
> > On Mon, Feb 7, 2022 at 10:39 PM Stefan Hajnoczi wrote:
> > >
> > > On Tue, Jan 25, 2022 at 09:18:00PM +0800, Xie Yongji wrote:
> > > &
On Mon, Feb 7, 2022 at 10:39 PM Stefan Hajnoczi wrote:
>
> On Tue, Jan 25, 2022 at 09:18:00PM +0800, Xie Yongji wrote:
> > To support reconnecting after restart or crash, VDUSE backend
> > might need to resubmit inflight I/Os. This stores the metadata
> > such as the index of inflight I/O's descri
On Mon, Feb 7, 2022 at 10:18 PM Stefan Hajnoczi wrote:
>
> On Tue, Jan 25, 2022 at 09:17:59PM +0800, Xie Yongji wrote:
> > To support block resize, this uses vduse_dev_update_config()
> > to update the capacity field in configuration space and inject
> > config interrupt on the block resize callba
On Mon, Feb 7, 2022 at 10:15 PM Stefan Hajnoczi wrote:
>
> On Tue, Jan 25, 2022 at 09:17:58PM +0800, Xie Yongji wrote:
> > This implements a VDUSE block backends based on
> > the libvduse library. We can use it to export the BDSs
> > for both VM and container (host) usage.
> >
> > The new command-
On Mon, Feb 7, 2022 at 10:01 PM Stefan Hajnoczi wrote:
>
> On Tue, Jan 25, 2022 at 09:17:57PM +0800, Xie Yongji wrote:
> > VDUSE [1] is a linux framework that makes it possible to implement
> > software-emulated vDPA devices in userspace. This adds a library
> > as a subproject to help implementin
On Mon, Feb 7, 2022 at 9:12 PM Stefan Hajnoczi wrote:
>
> On Tue, Jan 25, 2022 at 09:17:56PM +0800, Xie Yongji wrote:
> > diff --git a/scripts/update-linux-headers.sh
> > b/scripts/update-linux-headers.sh
> > index fea4d6eb65..4c7846076f 100755
> > --- a/scripts/update-linux-headers.sh
> > +++ b/
On Tue, Apr 27, 2021 at 10:28 PM Stefan Hajnoczi wrote:
>
> On Tue, Apr 27, 2021 at 06:24:55PM +0800, Yongji Xie wrote:
> > On Mon, Apr 26, 2021 at 11:34 PM Stefan Hajnoczi
> > wrote:
> > >
> > > On Thu, Apr 08, 2021 at 06:12:49PM +0800, Xie Yongji wrote:
>
On Mon, Apr 26, 2021 at 11:05 PM Stefan Hajnoczi wrote:
>
> On Thu, Apr 08, 2021 at 06:12:52PM +0800, Xie Yongji wrote:
> > +static const int vdpa_feature_bits[] = {
> > +VIRTIO_BLK_F_SIZE_MAX,
> > +VIRTIO_BLK_F_SEG_MAX,
> > +VIRTIO_BLK_F_GEOMETRY,
> > +VIRTIO_BLK_F_BLK_SIZE,
> > +
On Mon, Apr 26, 2021 at 10:49 PM Stefan Hajnoczi wrote:
>
> On Thu, Apr 08, 2021 at 06:12:51PM +0800, Xie Yongji wrote:
> > diff --git a/hw/block/vhost-blk-common.c b/hw/block/vhost-blk-common.c
> > new file mode 100644
> > index 00..96500f6c89
> > --- /dev/null
> > +++ b/hw/block/vhost-bl
On Mon, Apr 26, 2021 at 11:34 PM Stefan Hajnoczi wrote:
>
> On Thu, Apr 08, 2021 at 06:12:49PM +0800, Xie Yongji wrote:
> > Since we already have some ways to emulate vDPA block device
> > in kernel[1] or userspace[2]. This series tries to introduce a
> > new vhost-vdpa block device for that. To u
On Mon, Apr 12, 2021 at 3:14 PM Jason Wang wrote:
>
>
> 在 2021/4/9 下午4:17, Yongji Xie 写道:
> > On Fri, Apr 9, 2021 at 2:02 PM Jason Wang wrote:
> >>
> >> 在 2021/4/8 下午6:12, Xie Yongji 写道:
> >>> This commit introduces a new vhost-vdpa block device, wh
On Fri, Apr 9, 2021 at 2:02 PM Jason Wang wrote:
>
>
> 在 2021/4/8 下午6:12, Xie Yongji 写道:
> > This commit introduces a new vhost-vdpa block device, which
> > will set up a vDPA device specified by a "vdpa-dev" parameter,
> > something like:
> >
> > qemu-system-x86_64 \
> > -device vhost-vdpa-b
On Fri, Apr 9, 2021 at 7:21 AM Raphael Norwitz
wrote:
>
> I'm mostly happy with this. Just some asks on variable renaming and
> comments which need to be fixed because of how you've moved things
> around.
>
OK. Thank you for reviewing!
> Also let's add a MAINTAINERS entry vhost-blk-common.h/c ei
On Sun, 17 Nov 2019 at 01:43, Marc-André Lureau
wrote:
>
> On Wed, Mar 13, 2019 at 6:59 AM Michael S. Tsirkin wrote:
> >
> > From: Xie Yongji
> >
> > This patch adds support for VHOST_USER_GET_INFLIGHT_FD and
> > VHOST_USER_SET_INFLIGHT_FD message to set/get shared buffer
> > to/from qemu. Then
On Mon, 21 Oct 2019 at 19:40, Stefan Hajnoczi wrote:
>
> Host notifiers are used in several cases:
> 1. Traditional ioeventfd where virtqueue notifications are handled in
>the main loop thread.
> 2. IOThreads (aio_handle_output) where virtqueue notifications are
>handled in an IOThread Aio
On Mon, 21 Oct 2019 at 16:20, Liu, Changpeng wrote:
>
> There is some logic in vhost_user_blk_handle_output() for now, it's not empty
> as vhost-user-scsi.
> There should be other issue if it can't start from SeaBIOS.
>
No, it's the same issue. We can see the notify is triggered from the
VIRTIO_
On Mon, 21 Oct 2019 at 16:00, Felipe Franciosi wrote:
>
>
>
> > On Oct 21, 2019, at 5:01 AM, Yongji Xie wrote:
> >
> > On Fri, 18 Oct 2019 at 19:14, Felipe Franciosi wrote:
> >>
> >>
> >>
> >>> On Oct 18, 2019, at 3:59 AM, Y
On Fri, 18 Oct 2019 at 19:14, Felipe Franciosi wrote:
>
>
>
> > On Oct 18, 2019, at 3:59 AM, Yongji Xie wrote:
> >
> > On Fri, 18 Oct 2019 at 01:17, Felipe Franciosi wrote:
> >>
> >> Originally, vhost-user-scsi did not implement a handle_output callb
On Fri, 18 Oct 2019 at 01:17, Felipe Franciosi wrote:
>
> Originally, vhost-user-scsi did not implement a handle_output callback
> as that didn't seem necessary. Turns out it is.
>
> Depending on which other devices are presented to a VM, SeaBIOS may
> decide to map vhost-user-scsi devices on the
On Tue, 16 Jul 2019 at 22:42, Stefan Hajnoczi wrote:
>
> On Mon, Jul 15, 2019 at 06:23:25PM +0800, elohi...@gmail.com wrote:
> > From: Xie Yongji
> >
> > This avoids memory leak when device hotplug is failed.
> >
> > Signed-off-by: Xie Yongji
> > ---
> > hw/scsi/vhost-scsi.c | 4 +++-
> > 1 fil
On Wed, 26 Jun 2019 at 18:18, Greg Kurz wrote:
>
> On Wed, 26 Jun 2019 10:31:26 +0800
> elohi...@gmail.com wrote:
>
> > From: Xie Yongji
> >
> > In order to avoid migration issues, we introduce a "use-started"
> > property to the base virtio device to indicate whether use
> > "started" flag or no
On Wed, 26 Jun 2019 at 18:43, Laurent Vivier wrote:
>
> On 26/06/2019 04:31, elohi...@gmail.com wrote:
> > From: Xie Yongji
>
> Could you use the same address to send the series?
> Or may be you need to add a Signed-off-by with your name and this address?
>
> I don't know what is the rule when so
On Sat, 22 Jun 2019 at 23:51, Greg Kurz wrote:
>
> On Mon, 17 Jun 2019 14:04:10 +0800
> Yongji Xie wrote:
>
> > On Mon, 17 Jun 2019 at 13:24, Greg Kurz wrote:
> > >
> > > On Mon, 17 Jun 2019 10:14:30 +0800
> > > Yongji Xie wrote:
> > >
On Mon, 17 Jun 2019 at 13:24, Greg Kurz wrote:
>
> On Mon, 17 Jun 2019 10:14:30 +0800
> Yongji Xie wrote:
>
> > On Fri, 14 Jun 2019 at 19:45, Greg Kurz wrote:
> > >
> > > On Fri, 14 Jun 2019 17:31:17 +0800
> > > elohi...@gmail.com wrote:
> > &
On Fri, 14 Jun 2019 at 19:45, Greg Kurz wrote:
>
> On Fri, 14 Jun 2019 17:31:17 +0800
> elohi...@gmail.com wrote:
>
> > From: Xie Yongji
> >
> > In order to avoid migration issues, we introduce a "use-started"
> > property to the base virtio device to indicate whether use
> > "started" flag or no
On Wed, 5 Jun 2019 at 17:00, Greg Kurz wrote:
>
> On Tue, 4 Jun 2019 15:34:59 +0800
> elohi...@gmail.com wrote:
>
> > From: Xie Yongji
> >
> > In order to avoid migration issues, we introduce a "use-started"
> > property to the base virtio device to indicate whether use
> > "started" flag or not
On Wed, 5 Jun 2019 at 15:14, Greg Kurz wrote:
>
> On Wed, 5 Jun 2019 14:49:34 +0800
> Yongji Xie wrote:
>
> > On Wed, 5 Jun 2019 at 14:42, Greg Kurz wrote:
> > >
> > > On Tue, 4 Jun 2019 15:34:56 +0800
> > > elohi...@gmail.com wrote:
> >
On Wed, 5 Jun 2019 at 14:42, Greg Kurz wrote:
>
> On Tue, 4 Jun 2019 15:34:56 +0800
> elohi...@gmail.com wrote:
>
> > From: Xie Yongji
> >
> > Besides virtio 1.0 transitional devices, we should also
> > set "start_on_kick" flag for legacy devices (virtio 0.9).
> >
> > Signed-off-by: Xie Yongji
On Tue, 4 Jun 2019 at 04:49, Greg Kurz wrote:
>
> On Wed, 29 May 2019 15:09:55 +0800
> elohi...@gmail.com wrote:
>
> > From: Xie Yongji
> >
> > In order to avoid migration issues, we introduce a "use-started"
> > property to the base virtio device to indicate whether "started"
> > and "start_on_k
On Tue, 4 Jun 2019 at 04:16, Greg Kurz wrote:
>
> On Wed, 29 May 2019 15:09:52 +0800
> elohi...@gmail.com wrote:
>
> > From: Xie Yongji
> >
> > We should migrate the "start_on_kick" flag so that we
> > would not miss starting device on kicking at startup
> > after migration.
> >
>
> Hmm... IIUC "
On Tue, 4 Jun 2019 at 00:53, Greg Kurz wrote:
>
> On Wed, 29 May 2019 15:09:51 +0800
> elohi...@gmail.com wrote:
>
> > From: Xie Yongji
> >
> > The guest feature is not set correctly on virtio_reset() and
> > virtio_init(). So we should not use it to set "start_on_kick" at that
> > point. This pa
On Thu, 30 May 2019 at 17:06, Dr. David Alan Gilbert
wrote:
>
> * Yongji Xie (elohi...@gmail.com) wrote:
> > On Wed, 29 May 2019 at 22:42, Dr. David Alan Gilbert
> > wrote:
> > >
> > > * Yongji Xie (elohi...@gmail.com) wrote:
> > > > On W
On Wed, 29 May 2019 at 22:42, Dr. David Alan Gilbert
wrote:
>
> * Yongji Xie (elohi...@gmail.com) wrote:
> > On Wed, 29 May 2019 at 21:43, Dr. David Alan Gilbert
> > wrote:
> > >
> > > * Greg Kurz (gr...@kaod.org) wrote:
> > > > On Wed, 29 May 201
On Wed, 29 May 2019 at 21:43, Dr. David Alan Gilbert
wrote:
>
> * Greg Kurz (gr...@kaod.org) wrote:
> > On Wed, 29 May 2019 13:38:19 +0100
> > "Dr. David Alan Gilbert" wrote:
> >
> > > * Greg Kurz (gr...@kaod.org) wrote:
> > > > On Wed, 29 May 2019 12:18:50 +0100
> > > > "Dr. David Alan Gilbert"
On Wed, 29 May 2019 at 21:02, Greg Kurz wrote:
>
> On Wed, 29 May 2019 13:38:19 +0100
> "Dr. David Alan Gilbert" wrote:
>
> > * Greg Kurz (gr...@kaod.org) wrote:
> > > On Wed, 29 May 2019 12:18:50 +0100
> > > "Dr. David Alan Gilbert" wrote:
> > >
> > > > * Greg Kurz (gr...@kaod.org) wrote:
> > >
On Tue, 28 May 2019 at 02:54, Michael S. Tsirkin wrote:
>
> On Mon, May 27, 2019 at 12:44:46PM +0200, Greg Kurz wrote:
> > On Fri, 24 May 2019 19:56:06 +0800
> > Yongji Xie wrote:
> >
> > > On Fri, 24 May 2019 at 18:20, Greg Kurz wrote:
> > > &g
On Mon, 27 May 2019 at 18:44, Greg Kurz wrote:
>
> On Fri, 24 May 2019 19:56:06 +0800
> Yongji Xie wrote:
>
> > On Fri, 24 May 2019 at 18:20, Greg Kurz wrote:
> > >
> > > On Mon, 20 May 2019 19:10:35 -0400
> > > "Michael S. Tsirkin" wro
On Fri, 24 May 2019 at 18:20, Greg Kurz wrote:
>
> On Mon, 20 May 2019 19:10:35 -0400
> "Michael S. Tsirkin" wrote:
>
> > From: Xie Yongji
> >
> > The virtio 1.0 transitional devices support driver uses the device
> > before setting the DRIVER_OK status bit. So we introduce a started
> > flag to
Ping...
On Wed, 20 Mar 2019 at 19:27, wrote:
>
> From: Xie Yongji
>
> This patchset is aimed at supporting qemu to reconnect
> vhost-user-blk backend after vhost-user-blk backend crash or
> restart.
>
> The patch 1,2,3 introduce started flag to VirtioDevice to
> fix possible guest hung after mig
On Fri, 15 Mar 2019 at 18:41, Yury Kotov wrote:
>
> 15.03.2019, 12:46, "Daniel P. Berrangé" :
> > On Thu, Mar 14, 2019 at 03:31:47PM +0300, Yury Kotov wrote:
> >> Hi,
> >>
> >> 14.03.2019, 14:44, "Daniel P. Berrangé" :
> >> > On Thu, Mar 14, 2019 at 07:34:03AM -0400, Michael S. Tsirkin wrote:
>
On Fri, 15 Mar 2019 at 11:09, Michael S. Tsirkin wrote:
>
> On Fri, Mar 15, 2019 at 10:46:34AM +0800, Yongji Xie wrote:
> > On Thu, 14 Mar 2019 at 19:18, Michael S. Tsirkin wrote:
> > >
> > > On Wed, Mar 13, 2019 at 10:47:08AM +0800, Yongji Xie wrote:
> &
On Thu, 14 Mar 2019 at 19:43, Daniel P. Berrangé wrote:
>
> On Thu, Mar 14, 2019 at 07:34:03AM -0400, Michael S. Tsirkin wrote:
> > On Thu, Mar 14, 2019 at 11:24:22AM +, Daniel P. Berrangé wrote:
> > > On Tue, Mar 12, 2019 at 12:49:35PM -0400, Michael S. Tsirkin wrote:
> > > > On Thu, Feb 28,
On Thu, 14 Mar 2019 at 20:31, Yury Kotov wrote:
>
> Hi,
>
> 14.03.2019, 14:44, "Daniel P. Berrangé" :
> > On Thu, Mar 14, 2019 at 07:34:03AM -0400, Michael S. Tsirkin wrote:
> >> On Thu, Mar 14, 2019 at 11:24:22AM +, Daniel P. Berrangé wrote:
> >> > On Tue, Mar 12, 2019 at 12:49:35PM -0400,
On Thu, 14 Mar 2019 at 19:18, Michael S. Tsirkin wrote:
>
> On Wed, Mar 13, 2019 at 10:47:08AM +0800, Yongji Xie wrote:
> > On Wed, 13 Mar 2019 at 09:16, Michael S. Tsirkin wrote:
> > >
> > > On Thu, Feb 28, 2019 at 04:53:54PM +0800, elohi...@gmail.com w
On Wed, 13 Mar 2019 at 09:08, Michael S. Tsirkin wrote:
>
> On Thu, Feb 28, 2019 at 04:53:48PM +0800, elohi...@gmail.com wrote:
> > From: Xie Yongji
> >
> > This patchset is aimed at supporting qemu to reconnect
> > vhost-user-blk backend after vhost-user-blk backend crash or
> > restart.
> >
> >
On Wed, 13 Mar 2019 at 09:16, Michael S. Tsirkin wrote:
>
> On Thu, Feb 28, 2019 at 04:53:54PM +0800, elohi...@gmail.com wrote:
> > From: Xie Yongji
> >
> > Since we now support the message VHOST_USER_GET_INFLIGHT_FD
> > and VHOST_USER_SET_INFLIGHT_FD. The backend is able to restart
> > safely be
On Wed, 13 Mar 2019 at 00:49, Michael S. Tsirkin wrote:
>
> On Thu, Feb 28, 2019 at 04:53:54PM +0800, elohi...@gmail.com wrote:
> > From: Xie Yongji
> >
> > Since we now support the message VHOST_USER_GET_INFLIGHT_FD
> > and VHOST_USER_SET_INFLIGHT_FD. The backend is able to restart
> > safely be
On Sun, 24 Feb 2019 at 08:14, Michael S. Tsirkin wrote:
>
> On Sat, Feb 23, 2019 at 09:10:01PM +0800, Yongji Xie wrote:
> > On Fri, 22 Feb 2019 at 22:54, Michael S. Tsirkin wrote:
> > >
> > > On Fri, Feb 22, 2019 at 03:05:23PM +0800, Yongji Xie wrote:
> &
On Fri, 22 Feb 2019 at 22:54, Michael S. Tsirkin wrote:
>
> On Fri, Feb 22, 2019 at 03:05:23PM +0800, Yongji Xie wrote:
> > On Fri, 22 Feb 2019 at 14:21, Michael S. Tsirkin wrote:
> > >
> > > On Fri, Feb 22, 2019 at 10:47:03AM +0800, Yongji Xie wrote:
> > >
On Fri, 22 Feb 2019 at 14:21, Michael S. Tsirkin wrote:
>
> On Fri, Feb 22, 2019 at 10:47:03AM +0800, Yongji Xie wrote:
> > > > +
> > > > +To track inflight I/O, the queue region should be processed as follows:
> > > > +
> > >
On Fri, 22 Feb 2019 at 01:27, Michael S. Tsirkin wrote:
>
> On Mon, Feb 18, 2019 at 06:27:42PM +0800, elohi...@gmail.com wrote:
> > From: Xie Yongji
> >
> > This patch introduces two new messages VHOST_USER_GET_INFLIGHT_FD
> > and VHOST_USER_SET_INFLIGHT_FD to support transferring a shared
> > bu
On Thu, 21 Feb 2019 at 04:00, Michael S. Tsirkin wrote:
>
> On Mon, Feb 18, 2019 at 06:27:41PM +0800, elohi...@gmail.com wrote:
> > From: Xie Yongji
> >
> > This patchset is aimed at supporting qemu to reconnect
> > vhost-user-blk backend after vhost-user-blk backend crash or
> > restart.
> >
> >
On Fri, 1 Feb 2019 at 10:28, Jason Wang wrote:
>
>
> On 2019/1/30 下午1:48, Yongji Xie wrote:
> > On Wed, 30 Jan 2019 at 10:32, Jason Wang wrote:
> >>
> >> On 2019/1/22 下午4:31, elohi...@gmail.com wrote:
> >>> +static int
> >>> +vu
On Wed, 30 Jan 2019 at 10:32, Jason Wang wrote:
>
>
> On 2019/1/22 下午4:31, elohi...@gmail.com wrote:
> > +static int
> > +vu_queue_inflight_get(VuDev *dev, VuVirtq *vq, int desc_idx)
> > +{
> > +if (!has_feature(dev->protocol_features,
> > +VHOST_USER_PROTOCOL_F_INFLIGHT_SHMFD)) {
> >
On Wed, 30 Jan 2019 at 12:07, Michael S. Tsirkin wrote:
>
> On Wed, Jan 30, 2019 at 11:49:56AM +0800, Yongji Xie wrote:
> > On Wed, 30 Jan 2019 at 10:30, Michael S. Tsirkin wrote:
> > >
> > > On Wed, Jan 30, 2019 at 10:07:28AM +0800, Yongji Xie wrote:
> &
On Wed, 30 Jan 2019 at 10:32, Jason Wang wrote:
>
>
> On 2019/1/22 下午4:31, elohi...@gmail.com wrote:
> > +static int
> > +vu_queue_inflight_get(VuDev *dev, VuVirtq *vq, int desc_idx)
> > +{
> > +if (!has_feature(dev->protocol_features,
> > +VHOST_USER_PROTOCOL_F_INFLIGHT_SHMFD)) {
> >
On Wed, 30 Jan 2019 at 10:30, Michael S. Tsirkin wrote:
>
> On Wed, Jan 30, 2019 at 10:07:28AM +0800, Yongji Xie wrote:
> > On Tue, 29 Jan 2019 at 22:15, Michael S. Tsirkin wrote:
> > >
> > > On Tue, Jan 29, 2019 at 02:15:35PM +0800, Yongji Xie wrote:
> &
On Tue, 29 Jan 2019 at 22:15, Michael S. Tsirkin wrote:
>
> On Tue, Jan 29, 2019 at 02:15:35PM +0800, Yongji Xie wrote:
> > On Tue, 29 Jan 2019 at 12:26, Michael S. Tsirkin wrote:
> > >
> > > On Tue, Jan 29, 2019 at 12:11:55PM +0800, Stefan Hajnoczi wrote:
> &g
On Tue, 29 Jan 2019 at 12:26, Michael S. Tsirkin wrote:
>
> On Tue, Jan 29, 2019 at 12:11:55PM +0800, Stefan Hajnoczi wrote:
> > On Tue, Jan 22, 2019 at 04:31:47PM +0800, elohi...@gmail.com wrote:
> > > +typedef struct DescState {
> > > +uint8_t inuse;
> > > +uint8_t version;
> > > +ui
On Fri, 18 Jan 2019 at 17:27, Jason Wang wrote:
>
>
> On 2019/1/18 下午3:01, Yongji Xie wrote:
> > On Fri, 18 Jan 2019 at 12:00, Jason Wang wrote:
> >>
> >> On 2019/1/18 上午11:32, Yongji Xie wrote:
> >>> On Thu, 17 Jan 2019 at 17:57, Jason Wang wrote:
On Fri, 18 Jan 2019 at 12:00, Jason Wang wrote:
>
>
> On 2019/1/18 上午11:32, Yongji Xie wrote:
> > On Thu, 17 Jan 2019 at 17:57, Jason Wang wrote:
> >>
> >> On 2019/1/15 下午10:51, Yongji Xie wrote:
> >>>> Well, this may work but here're my p
1 - 100 of 170 matches
Mail list logo