On Thu, Aug 10, 2023 at 11:36 PM Eugenio Pérez wrote:
>
> The vhost-vdpa net backend needs to enable vrings in a different order
> than default, so export it.
>
> No functional change intended except for tracing, that now includes the
> (virtio) index being enabled and the return value of the ioct
On Thu, Aug 10, 2023 at 11:36 PM Eugenio Pérez wrote:
>
> Now that we have add migration blockers if the device does not support
> all the needed features, remove the general blocker applied to all net
> devices with CVQ.
>
> Signed-off-by: Eugenio Pérez
Acked-by: Jason Wang
Thanks
> ---
> n
On Thu, Aug 10, 2023 at 11:36 PM Eugenio Pérez wrote:
>
> Next patches will add the corresponding data load.
>
> Signed-off-by: Eugenio Pérez
Acked-by: Jason Wang
Thanks
> ---
> net/vhost-vdpa.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/net/vhost-vdpa.c b/n
On Thu, Aug 10, 2023 at 11:36 PM Eugenio Pérez wrote:
>
> Previous to this patch the only way CVQ would be shadowed is if it does
> support to isolate CVQ group or if all vqs were shadowed from the
> beginning. The second condition was checked at the beginning, and no
> more configuration was don
On Thu, Aug 10, 2023 at 11:36 PM Eugenio Pérez wrote:
>
> Doing that way allows CVQ to be enabled before the dataplane vqs,
> restoring the state as MQ or MAC addresses properly in the case of a
> migration.
>
A typo in the subject, should be vhost_vdpa_set_vring_ready.
> Signed-off-by: Eugenio
On 8/14/2023 7:59 AM, Zhao Liu wrote:
> Hi Qian,
>
> On Sun, Aug 13, 2023 at 06:49:40PM +0800, Wen, Qian wrote:
>
> [snip]
>
>>> also perhaps double check if we could do induce similar overflow
>>> tweaking other -smp properties (todo for another patch[es] if there are
>>> such places).
>> I have
Hi Qian,
On Sun, Aug 13, 2023 at 06:49:40PM +0800, Wen, Qian wrote:
[snip]
>
> > also perhaps double check if we could do induce similar overflow
> > tweaking other -smp properties (todo for another patch[es] if there are
> > such places).
>
> I have a check, the CPUID.0x4:EAX[31:26] indicate
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/bsd-user/freebsd/meson.build b/bsd-user/freebsd/meson.build
index f87c788e84..f2f047cca3 100644
--- a/bsd-user/freebsd/meson.build
+++ b/bsd-user/freebsd/
From: Stacey Son
Declarations of functions that convert between host and target structs.
Co-authored-by: Michal Meloun
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/qemu-os.h | 50 ++
bsd-user/qem
From: Stacey Son
Implement the stat conversion functions:
h2t_freebds11_statfs
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-stat.c | 41 ++
1 file changed, 41 insertions(+)
diff --git a/bsd-use
From: Stacey Son
Implement the following syscalls:
fcntl(2)
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-stat.h | 74 ++
1 file changed, 74 insertions(+)
diff --git a/bsd-user/freebsd/os-stat.h
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Acked-by: Richard Henderson
---
bsd-user/syscall_defs.h | 51 +
1 file changed, 51 insertions(+)
diff --git a/bsd-user/syscall_defs.h b/bsd-user/syscall_defs.h
index 2aefdd205e..68db9
From: Warner Losh
getfh
lgetfh
fhopen
freebsd11_fhstat
freebsd11_fhstatfs
fhstat
fhstatfs
Signed-off-by: Warner Losh
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-syscall.c | 28
1 file changed, 28 insertions(+)
diff --git a/bs
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Acked-by: Richard Henderson
---
bsd-user/syscall_defs.h | 64 +
1 file changed, 64 insertions(+)
diff --git a/bsd-user/syscall_defs.h b/bsd-user/syscall_defs.h
index 41259848cd..f8f37
From: Michal Meloun
Signed-off-by: Michal Meloun
Signed-off-by: Karim Taha
Acked-by: Richard Henderson
---
bsd-user/syscall_defs.h | 25 +
1 file changed, 25 insertions(+)
diff --git a/bsd-user/syscall_defs.h b/bsd-user/syscall_defs.h
index f8f37517b2..2aefdd205e 1006
From: Michal Meloun
Rename the following syscalls to the freebsd11 variant:
do_freebsd_lstat -> do_freebsd11_lstat
do_freebsd_stat -> do_freebsd11_stat
Co-authored-by: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Michal Meloun
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
From: Warner Losh
freebsd11_statfs
statfs
freebsd11_fstatfs
fstatfs
freebsd11_getfsstat
getfsstat
Signed-off-by: Warner Losh
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-syscall.c | 24
1 file changed, 24 insertions(+)
diff --git
From: Kyle Evans
Signed-off-by: Kyle Evans
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/syscall_defs.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/bsd-user/syscall_defs.h b/bsd-user/syscall_defs.h
index 68db9cf4b2..bdcdc4c0fe 100644
--- a/bsd-user/syscall_de
From: Stacey Son
Implement the stat conversion functions:
h2t_freebsd11_stat
h2t_freebsd_nstat
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-stat.c | 94 ++
1 file changed, 94 insertions(+)
crea
From: Michal Meloun
Implement the freebsd11 variant of the following syscalls:
fstat(2)
fstatat(2)
fhstat(2)
fhstatfs(2)
Co-authored-by: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Michal Meloun
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-stat.h
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Acked-by: Richard Henderson
---
bsd-user/syscall_defs.h | 33 +
1 file changed, 33 insertions(+)
diff --git a/bsd-user/syscall_defs.h b/bsd-user/syscall_defs.h
index b6d113d24a..30c24bfe1b 10
From: Michal Meloun
Implement the freebsd11 variant of the following syscalls:
statfs(2)
fstatfs(2)
getfsstat(2)
Co-authored-by: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Michal Meloun
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-stat.h | 75 ++
From: Michal Meloun
Signed-off-by: Michal Meloun
Signed-off-by: Karim Taha
Acked-by: Richard Henderson
---
bsd-user/syscall_defs.h | 38 ++
1 file changed, 38 insertions(+)
diff --git a/bsd-user/syscall_defs.h b/bsd-user/syscall_defs.h
index 30c24bfe1b..4
From: Stacey Son
Implement the stat conversion functions:
target_to_host_fcntl_cmd
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-stat.c | 8
1 file changed, 8 insertions(+)
diff --git a/bsd-user/freebsd/os-stat.c b/bsd-us
From: Stacey Son
Implement the following syscalls:
getfh(2)
lgetfh(2)
fhopen(2)
fhstat(2)
fhstatfs(2)
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-stat.h | 83 ++
1 file changed, 83 insertions(+
From: Mikaël Urankar
Signed-off-by: Mikaël Urankar
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-stat.h | 26 ++
1 file changed, 26 insertions(+)
diff --git a/bsd-user/freebsd/os-stat.h b/bsd-user/freebsd/os-stat.h
index e31b2aab9e..
From: Warner Losh
Use __builtin_choose_expr to avoid type promotion from ?:
in __put_user_e and __get_user_e macros.
Copied from linux-user/qemu.h, originally by Blue Swirl.
Signed-off-by: Warner Losh
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/qemu.h | 81 +++
From: Michal Meloun
Forward declaration of the nstat syscalls:
nstat
nlstat
nfstat
Co-authored-by: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Michal Meloun
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-stat.h | 7 +++
1 file changed, 7 insert
From: Michal Meloun
They are the 64-bit variants of h2t_freebsd11_stat and
h2t_freebsd11_statfs, respectively
Signed-off-by: Michal Meloun
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-stat.c | 82 ++
1 file changed, 82 i
From: Stacey Son
Implement the following syscalls:
statfs(2)
fstatfs(2)
getfsstat(2)
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-stat.h | 69 ++
1 file changed, 69 insertions(+)
diff --git a/b
From: Stacey Son
Implement the following syscalls:
stat(2)
lstat(2)
fstat(2)
fstatat(2)
nstat
nfstat
nlstat
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-stat.h | 130 +
1 file changed, 130 inser
From: Michal Meloun
Implement the freebsd11 variant of the following syscalls:
getdirecentries(2)
Co-authored-by: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Michal Meloun
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-stat.h | 44 +
From: Warner Losh
freebsd11_getdents
getdirentries
freebsd11_getdirentries
fcntl
Signed-off-by: Warner Losh
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-syscall.c | 16
1 file changed, 16 insertions(+)
diff --git a/bsd-user/freebsd/os-sys
From: Stacey Son
Implement the following syscalls:
getdents(2)
getdirecentries(2)
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-stat.h | 72 ++
1 file changed, 72 insertions(+)
diff --git a/bsd-
From: Warner Losh
freebsd11_stat
freebsd11_lstat
freebsd11_fstat
freebsd11_fstatat
freebsd11_nstat, freebsd11_nfstat, freebsd11_nlstat
fstatat
fstat
Signed-off-by: Warner Losh
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-syscall.c | 42
From: Stacey Son
Implement the stat conversion functions:
h2t_freebsd_fhandle
t2h_freebsd_fhandle
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-stat.c | 37 +
1 file changed, 37 insertions(+)
di
From: Warner Losh
This is necessary for future code using target_time_t, in
bsd-user/syscall_defs.
Signed-off-by: Warner Losh
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/syscall_defs.h | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/bsd-u
From: Warner Losh
move _WANT_FREEBSD macros from bsd-user/freebsd/os-syscall.c to
include/qemu/osdep.h in order to pull some struct defintions needed
later in the build.
Signed-off-by: Warner Losh
Signed-off-by: Karim Taha
Acked-by: Richard Henderson
---
bsd-user/freebsd/os-syscall.c | 11 --
Upstream the implementation of the stat system calls from the
qemu-bsd-user fork, the following system calls are implemented:
stat(2), lstat(2), fstat(2), fstatat(2), nstat, nfstat, nlstat
getfh(2), lgetfh(2), fhopen(2), fhstat(2), fhstatfs(2), statfs(2)
fstatfs(2), getfsstat(2), getdents(2), getdi
From: Kyle Evans
Implement PRAGMA_DISABLE_PACKED_WARNING and PRAGMA_REENABLE_PACKED_WARNING
macros in include/qemu/compiler.h.
Signed-off-by: Kyle Evans
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
include/qemu/compiler.h | 30 ++
1 file changed,
Signed-off-by: Richard Henderson
---
target/m68k/translate.c | 11 ++-
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/target/m68k/translate.c b/target/m68k/translate.c
index 37954d11a6..15b3701b8f 100644
--- a/target/m68k/translate.c
+++ b/target/m68k/translate.c
@@ -697,19
On 8/12/23 20:10, Karim Taha wrote:
+#if defined(__FreeBSD_version) && __FreeBSD_version >= 1300080
+extern int __realpathat(int fd, const char *path, char *buf, size_t size,
+int flags);
+//https://svnweb.freebsd.org/base?view=revision&revision=358172
+// no man page
C comments, not C+
On 8/12/23 20:09, Karim Taha wrote:
From: Stacey Son
Declarations of functions that convert between host and target structs.
Co-authored-by: Michal Meloun
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/freebsd/qemu-os.h | 50 ++
bsd-user
On 8/12/23 20:09, Karim Taha wrote:
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/syscall_defs.h | 64 +
1 file changed, 64 insertions(+)
Acked-by: Richard Henderson
r~
From: Michal Meloun
Rename the following syscalls to the freebsd11 variant:
do_freebsd_lstat -> do_freebsd11_lstat
do_freebsd_stat -> do_freebsd11_stat
Co-authored-by: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Michal Meloun
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
From: Michal Meloun
Implement the freebsd11 variant of the following syscalls:
statfs(2)
fstatfs(2)
getfsstat(2)
Co-authored-by: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Michal Meloun
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-stat.h | 75 ++
From: Michal Meloun
Implement the freebsd11 variant of the following syscalls:
fstat(2)
fstatat(2)
fhstat(2)
fhstatfs(2)
Co-authored-by: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Michal Meloun
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-stat.h
From: Warner Losh
freebsd11_statfs
statfs
freebsd11_fstatfs
fstatfs
freebsd11_getfsstat
getfsstat
Signed-off-by: Warner Losh
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-syscall.c | 24
1 file changed, 24 insertions(+)
diff --git
From: Michal Meloun
Implement the freebsd11 variant of the following syscalls:
getdirecentries(2)
Co-authored-by: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Michal Meloun
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-stat.h | 44 +
From: Warner Losh
getfh
lgetfh
fhopen
freebsd11_fhstat
freebsd11_fhstatfs
fhstat
fhstatfs
Signed-off-by: Warner Losh
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-syscall.c | 28
1 file changed, 28 insertions(+)
diff --git a/bs
From: Stacey Son
Implement the following syscalls:
fcntl(2)
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-stat.h | 74 ++
1 file changed, 74 insertions(+)
diff --git a/bsd-user/freebsd/os-stat.h
From: Stacey Son
Implement the following syscalls:
stat(2)
lstat(2)
fstat(2)
fstatat(2)
nstat
nfstat
nlstat
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-stat.h | 130 +
1 file changed, 130 inser
From: Stacey Son
Implement the following syscalls:
getfh(2)
lgetfh(2)
fhopen(2)
fhstat(2)
fhstatfs(2)
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-stat.h | 83 ++
1 file changed, 83 insertions(+
From: Stacey Son
Declarations of functions that convert between host and target structs.
Co-authored-by: Michal Meloun
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/freebsd/qemu-os.h | 50 ++
bsd-user/qemu.h| 1 +
2 files c
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Acked-by: Richard Henderson
---
bsd-user/syscall_defs.h | 33 +
1 file changed, 33 insertions(+)
diff --git a/bsd-user/syscall_defs.h b/bsd-user/syscall_defs.h
index b6d113d24a..30c24bfe1b 10
From: Michal Meloun
Signed-off-by: Michal Meloun
Signed-off-by: Karim Taha
Acked-by: Richard Henderson
---
bsd-user/syscall_defs.h | 25 +
1 file changed, 25 insertions(+)
diff --git a/bsd-user/syscall_defs.h b/bsd-user/syscall_defs.h
index f8f37517b2..2aefdd205e 1006
From: Warner Losh
freebsd11_getdents
getdirentries
freebsd11_getdirentries
fcntl
Signed-off-by: Warner Losh
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-syscall.c | 16
1 file changed, 16 insertions(+)
diff --git a/bsd-user/freebsd/os-sys
From: Stacey Son
Implement the stat conversion functions:
h2t_freebds11_statfs
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-stat.c | 41 ++
1 file changed, 41 insertions(+)
diff --git a/bsd-use
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/syscall_defs.h | 64 +
1 file changed, 64 insertions(+)
diff --git a/bsd-user/syscall_defs.h b/bsd-user/syscall_defs.h
index 41259848cd..f8f37517b2 100644
--- a/bsd-user/s
From: Stacey Son
Implement the stat conversion functions:
target_to_host_fcntl_cmd
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-stat.c | 8
1 file changed, 8 insertions(+)
diff --git a/bsd-user/freebsd/os-stat.c b/bsd-us
From: Stacey Son
Implement the stat conversion functions:
h2t_freebsd_fhandle
t2h_freebsd_fhandle
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-stat.c | 37 +
1 file changed, 37 insertions(+)
di
From: Kyle Evans
Implement PRAGMA_DISABLE_PACKED_WARNING and PRAGMA_REENABLE_PACKED_WARNING
macros in include/qemu/compiler.h.
Signed-off-by: Kyle Evans
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
include/qemu/compiler.h | 30 ++
1 file changed,
From: Stacey Son
Implement the following syscalls:
statfs(2)
fstatfs(2)
getfsstat(2)
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-stat.h | 69 ++
1 file changed, 69 insertions(+)
diff --git a/b
From: Warner Losh
This is necessary for future code using target_time_t, in
bsd-user/syscall_defs.
Signed-off-by: Warner Losh
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/syscall_defs.h | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/bsd-u
From: Warner Losh
freebsd11_stat
freebsd11_lstat
freebsd11_fstat
freebsd11_fstatat
freebsd11_nstat, freebsd11_nfstat, freebsd11_nlstat
fstatat
fstat
Signed-off-by: Warner Losh
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-syscall.c | 42
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Acked-by: Richard Henderson
---
bsd-user/syscall_defs.h | 51 +
1 file changed, 51 insertions(+)
diff --git a/bsd-user/syscall_defs.h b/bsd-user/syscall_defs.h
index 2aefdd205e..68db9
From: Stacey Son
Implement the following syscalls:
getdents(2)
getdirecentries(2)
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-stat.h | 72 ++
1 file changed, 72 insertions(+)
diff --git a/bsd-
From: Michal Meloun
Signed-off-by: Michal Meloun
Signed-off-by: Karim Taha
Acked-by: Richard Henderson
---
bsd-user/syscall_defs.h | 38 ++
1 file changed, 38 insertions(+)
diff --git a/bsd-user/syscall_defs.h b/bsd-user/syscall_defs.h
index 30c24bfe1b..4
From: Warner Losh
move _WANT_FREEBSD macros from bsd-user/freebsd/os-syscall.c to
include/qemu/osdep.h in order to pull some struct defintions needed
later in the build.
Signed-off-by: Warner Losh
Signed-off-by: Karim Taha
Acked-by: Richard Henderson
---
bsd-user/freebsd/os-syscall.c | 11 --
From: Kyle Evans
Signed-off-by: Kyle Evans
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/syscall_defs.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/bsd-user/syscall_defs.h b/bsd-user/syscall_defs.h
index 68db9cf4b2..bdcdc4c0fe 100644
--- a/bsd-user/syscall_de
From: Michal Meloun
They are the 64-bit variants of h2t_freebsd11_stat and
h2t_freebsd11_statfs, respectively
Signed-off-by: Michal Meloun
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-stat.c | 82 ++
1 file changed, 82 i
From: Mikaël Urankar
Signed-off-by: Mikaël Urankar
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-stat.h | 26 ++
1 file changed, 26 insertions(+)
diff --git a/bsd-user/freebsd/os-stat.h b/bsd-user/freebsd/os-stat.h
index e31b2aab9e..
From: Warner Losh
Use __builtin_choose_expr to avoid type promotion from ?:
in __put_user_e and __get_user_e macros.
Copied from linux-user/qemu.h, originally by Blue Swirl.
Signed-off-by: Warner Losh
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/qemu.h | 81 +++
From: Stacey Son
Implement the stat conversion functions:
h2t_freebsd11_stat
h2t_freebsd_nstat
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-stat.c | 94 ++
1 file changed, 94 insertions(+)
crea
From: Michal Meloun
Forward declaration of the nstat syscalls:
nstat
nlstat
nfstat
Co-authored-by: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Michal Meloun
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-stat.h | 7 +++
1 file changed, 7 insert
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/bsd-user/freebsd/meson.build b/bsd-user/freebsd/meson.build
index f87c788e84..f2f047cca3 100644
--- a/bsd-user/freebsd/meson.build
+++ b/bsd-user/freebsd/
Upstream the implementation of the stat system calls from the
qemu-bsd-user fork, the following system calls are implemented:
stat(2), lstat(2), fstat(2), fstatat(2), nstat, nfstat, nlstat
getfh(2), lgetfh(2), fhopen(2), fhstat(2), fhstatfs(2), statfs(2)
fstatfs(2), getfsstat(2), getdents(2), getdi
This series enables shadowed CVQ to intercept RSS command
through shadowed CVQ, update the virtio NIC device model
so qemu send it in a migration, and the restore of that
RSS state in the destination.
Note that this patch should be based on
patch "Vhost-vdpa Shadow Virtqueue Hash calculation Suppo
Enable SVQ with VIRTIO_NET_F_RSS feature.
Signed-off-by: Hawkins Jiawei
---
net/vhost-vdpa.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/vhost-vdpa.c b/net/vhost-vdpa.c
index e21b3ac67a..2a276ef528 100644
--- a/net/vhost-vdpa.c
+++ b/net/vhost-vdpa.c
@@ -119,6 +119,7 @@ static const
At present, to enable the VIRTIO_NET_F_RSS feature, eBPF must
be loaded for the vhost backend.
Given that vhost-vdpa is one of the vhost backend, we need to
implement the SetSteeringEBPF method to support RSS for vhost-vdpa,
even if vhost-vdpa calculates the rss hash in the hardware device
instead
This patch reuses vhost_vdpa_net_load_rss() with some
refactorings to restore the receive-side scaling state
at device's startup.
Signed-off-by: Hawkins Jiawei
---
v2:
- Correct the feature usage to VIRTIO_NET_F_HASH_REPORT when
loading the hash calculation state
v1:
https://lore.kernel.org/a
On 2023/8/11 23:28, Hawkins Jiawei wrote:
> This patch reuses vhost_vdpa_net_load_rss() with some
> refactorings to restore the receive-side scaling state
> at device's startup.
>
> Signed-off-by: Hawkins Jiawei
> ---
> net/vhost-vdpa.c | 53
> 1
On 8/9/2023 9:47 PM, Igor Mammedov wrote:
> On Wed, 9 Aug 2023 21:20:48 +0800
> "Wen, Qian" wrote:
>
>> On 8/9/2023 7:14 PM, Igor Mammedov wrote:
>>> On Wed, 9 Aug 2023 18:27:32 +0800
>>> Qian Wen wrote:
>>>
The legacy topology enumerated by CPUID.1.EBX[23:16] is defined in SDM
Vol2:
Hi,
I am using Qemu 8.0.3 and getting this error:
qemu-system-m68k: ../hw/scsi/scsi-disk.c:557: scsi_write_data: Assertion
`r->req.aiocb == NULL' failed.
It happens f.e. when I extract the glibc source code inside Linux.
Linux 6.1.44, glibc 2.38 is used for the Linux system.
I am starting qemu t
On 08/08/2023 10.57, Alex Bennée wrote:
Daniel P. Berrangé writes:
Perhaps the most painful of all the GitLab CI failures we see are
the enforced job timeouts:
"ERROR: Job failed: execution took longer than 1h15m0s seconds"
https://gitlab.com/qemu-project/qemu/-/jobs/4387047648
whe
85 matches
Mail list logo