[PATCH] target/riscv/kvm: Introduce simple handler for VS-file allocation failure

2025-07-16 Thread BillXiang
this, we introduce this simple handler by rescheduling vCPU to alternative harts when VS-file allocation fails on the current hart. Signed-off-by: BillXiang --- target/riscv/kvm/kvm-cpu.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/target/riscv/kvm/kvm-cpu.c b/target/ri

Re: [PATCH v3] vhost-user: Do not wait for reply for not sent VHOST_USER_SET_LOG_BASE

2024-08-27 Thread BillXiang
> From: "Prasad Pandit" > Date:  Tue, Aug 27, 2024, 20:37 > Subject:  Re: [PATCH v3] vhost-user: Do not wait for reply for not sent > VHOST_USER_SET_LOG_BASE > To: "BillXiang" > Cc: "Michael S. Tsirkin", > On Tue, 27 Aug 2024 at 16:50, BillXi

Re: [PATCH v3] vhost-user: Do not wait for reply for not sent VHOST_USER_SET_LOG_BASE

2024-08-27 Thread BillXiang
> From: "Prasad Pandit" > Date:  Tue, Aug 27, 2024, 19:06 > Subject:  Re: [PATCH v3] vhost-user: Do not wait for reply for not sent > VHOST_USER_SET_LOG_BASE > To: "BillXiang" > Cc: "Michael S. Tsirkin", > On Thu, 1 Aug 2024 at 20:32

Re: [PATCH v3] vhost-user: Do not wait for reply for not sent VHOST_USER_SET_LOG_BASE

2024-08-01 Thread BillXiang
> From: "Michael S. Tsirkin" > Date:  Thu, Aug 1, 2024, 22:13 > Subject:  Re: [PATCH v3] vhost-user: Do not wait for reply for not sent > VHOST_USER_SET_LOG_BASE > To: "BillXiang" > Cc: > On Thu, Aug 01, 2024 at 08:45:40PM +0800, BillXiang wrote: &g

[PATCH v3] vhost-user: Do not wait for reply for not sent VHOST_USER_SET_LOG_BASE

2024-08-01 Thread BillXiang
From: BillXiang Currently, we have added VHOST_USER_SET_LOG_BASE to vhost_user_per_device_request in commit 7c211eb078c4 ("vhost-user: Skip unnecessary duplicated VHOST_USER_SET_LOG_BASE requests"), as a result, VHOST_USER_SET_LOG_BASE will be sent only once when 'vq_index

Re: [PATCH v2] vhsot-user: Do not wait for replay for not sent VHOST_USER_SET_LOG_BASE

2024-08-01 Thread BillXiang
> From: "Michael S. Tsirkin" > Date:  Thu, Aug 1, 2024, 18:26 > Subject:  Re: [PATCH v2] vhsot-user: Do not wait for replay for not sent > VHOST_USER_SET_LOG_BASE > To: "BillXiang" > Cc: > On Thu, Aug 01, 2024 at 05:48:36PM +0800, BillXiang wr

Re: [PATCH v2] vhsot-user: Do not wait for replay for not sent VHOST_USER_SET_LOG_BASE

2024-08-01 Thread BillXiang
> From: "Michael S. Tsirkin" > Date:  Thu, Aug 1, 2024, 16:26 > Subject:  Re: [PATCH v2] vhsot-user: Do not wait for replay for not sent > VHOST_USER_SET_LOG_BASE > To: "BillXiang" > Cc: > On Sun, Jul 21, 2024 at 11:20:56AM +0800, BillXiang wr

Re: [PATCH] vhsot-user: Remove redundant judgment

2024-07-20 Thread BillXiang
> From: "Michael S. Tsirkin" > Date:  Sun, Jul 21, 2024, 03:14 > Subject:  Re: [PATCH] vhsot-user: Remove redundant judgment > To: "BillXiang" > Cc: , > On Wed, Jul 10, 2024 at 03:40:41PM +0800, BillXiang wrote: > > From: BillXiang > >  > &g

Re: [PATCH v2] vhsot-user: Do not wait for replay for not sent VHOST_USER_SET_LOG_BASE

2024-07-20 Thread BillXiang
> From: "Michael S. Tsirkin" > Date:  Sun, Jul 21, 2024, 03:01 > Subject:  Re: [PATCH v2] vhsot-user: Do not wait for replay for not sent > VHOST_USER_SET_LOG_BASE > To: "BillXiang" > Cc: > typos in subject do not inspire confidence. Sorry >

[PATCH v2] vhsot-user: Do not wait for replay for not sent VHOST_USER_SET_LOG_BASE

2024-07-18 Thread BillXiang
From: BillXiang We have added VHOST_USER_SET_LOG_BASE to vhost_user_per_device_request in https://lists.nongnu.org/archive/html/qemu-devel/2024-06/msg02559.html and will send this message only for vq 0. Signed-off-by: BillXiang --- V1[1] -> V2: - Refrain from appending flags to messages t

[PATCH] vhsot-user: Remove redundant judgment

2024-07-10 Thread BillXiang
From: BillXiang Send only once has been supported in vhost_user_write by vhost_user_per_device_request Signed-off-by: BillXiang --- hw/virtio/vhost-user.c | 5 - 1 file changed, 5 deletions(-) diff --git a/hw/virtio/vhost-user.c b/hw/virtio/vhost-user.c index 00561daa06..04e3568b7e

[PATCH] vhsot-user: Do not wait for replay for not sent VHOST_USER_SET_LOG_BASE

2024-07-07 Thread BillXiang
From: BillXiang Hello, there are some code that must be added to my last commit 7c211eb078c42146ee9a441cc028fbc4c378ef5a of 'Skip unnecessary duplicated VHOST_USER_SET_LOG_BASE requests'. We can not wait for replies from those duplicated VHOST_USER_SET_LOG_BASE that not really sent.

Re: [PATCH] vhost-user: Skip unnecessary duplicated VHOST_USER_SET_LOG_BASE requests

2024-07-01 Thread BillXiang
> From: "Michael S. Tsirkin" > Date:  Mon, Jul 1, 2024, 23:17 > Subject:  Re: [PATCH] vhost-user: Skip unnecessary duplicated > VHOST_USER_SET_LOG_BASE requests > To: "Alex Bennée" > Cc: "BillXiang", > On Mon, Jul 01, 2024 at 04:14:35P

Re: [PATCH] vhost-user: Skip unnecessary duplicated VHOST_USER_SET_LOG_BASE requests

2024-07-01 Thread BillXiang
> From: "Alex Bennée" > Date:  Mon, Jul 1, 2024, 16:49 > Subject:  Re: [PATCH] vhost-user: Skip unnecessary duplicated > VHOST_USER_SET_LOG_BASE requests > To: "项文成" > Cc: , > 项文成 writes: >  > > From: BillXiang > > > > The VHOST

Re: [PATCH] vhost-user: Skip unnecessary duplicated VHOST_USER_SET_LOG_BASE requests

2024-07-01 Thread BillXiang
> From: "项文成" > Date:  Thu, Jun 13, 2024, 14:51 > Subject:  [PATCH] vhost-user: Skip unnecessary duplicated > VHOST_USER_SET_LOG_BASE requests > To: > Cc: , "BillXiang" > From: BillXiang >  > The VHOST_USER_SET_LOG_BASE requests should be cate