On 15/03/2022 20.30, Peter Maydell wrote:
On Tue, 15 Mar 2022 at 18:58, Peter Maydell wrote:
On Tue, 15 Mar 2022 at 11:20, Thomas Huth wrote:
Hi Peter!
The following changes since commit 352998df1c53b366413690d95b35f76d0721ebed:
Merge tag 'i2c-20220314' of https://github.com/philmd/q
On 16.03.22 05:04, Andrew Deason wrote:
> We have a thin wrapper around madvise, called qemu_madvise, which
> provides consistent behavior for the !CONFIG_MADVISE case, and works
> around some platform-specific quirks (some platforms only provide
> posix_madvise, and some don't offer all 'advise' t
On Wed, Feb 16, 2022 at 9:18 PM Christoph Muellner wrote:
>
> The RISC-V base cache management operation ISA extension has been
> ratified. This patch adds support for the defined instructions.
>
> The cmo.prefetch instructions are nops for QEMU (no emulation of the memory
> hierarchy, no illegal
Hi Peter!
The following changes since commit d6f229f9a0592c4d5beb0a5c4e024231c27680d3:
Update version for v7.0.0-rc0 release (2022-03-15 23:07:40 +)
are available in the Git repository at:
https://gitlab.com/thuth/qemu.git tags/pull-request-2022-03-15v2
for you to fetch changes up to
Alex Bennée writes:
> I was running some historical tags for the last 10 years and got the
> following warnings:
>
> git log --use-mailmap --numstat --since "June 2010" | ~/src/gitdm.git/gitdm
> -n -l 5
> alar...@ddci.com is an author name, probably not what you want
> bad utf-8 ('utf-8' co
On Tue, Mar 15, 2022 at 10:52:26PM -0500, Andrew Deason wrote:
> On Solaris, 'sun' is #define'd to 1, which causes errors if a variable
> is named 'sun'. Slightly change the name of the var for the Slot User
> Number so we can build on Solaris.
>
> Reviewed-by: Ani Sinha
> Signed-off-by: Andrew D
On Tue, Mar 15, 2022 at 10:52:24PM -0500, Andrew Deason wrote:
> With these minor fixes, I can build qemu on Solaris 11.4.42 CBE
> (Oracle's new rolling release thing), using '--disable-rdma
> --enable-modules --disable-dbus-display --target-list=x86_64-softmmu'.
> I'm just interested in the guest
On Mon, 14 Mar 2022 14:25:41 +
David Woodhouse wrote:
> The check on x86ms->apic_id_limit in pc_machine_done() had two problems.
>
> Firstly, we need KVM to support the X2APIC API in order to allow IRQ
> delivery to APICs >= 255. So we need to call/check kvm_enable_x2apic(),
> which was done
Unfortunately this patch is not safe: theoretically ->detach can call
bdrv_unapply_subtree_drain, and if it polls, will can call a bh that
for example reads the graph, finding it in an inconsistent state, since
it is between the two writes QLIST_REMOVE(child, next_parent); and
QLIST_REMOVE(child, n
Unfortunately this patch is not safe: theoretically ->attach can call
bdrv_apply_subtree_drain, and if it polls, will can call a bh that
for example reads the graph, finding it in an inconsistent state, since
it is between the two writes QLIST_INSERT_HEAD(&bs->children, child,
next); and QLIST_INSE
On Wed, 16 Mar 2022 at 07:53, David Hildenbrand wrote:
>
> On 16.03.22 05:04, Andrew Deason wrote:
> > We have a thin wrapper around madvise, called qemu_madvise, which
> > provides consistent behavior for the !CONFIG_MADVISE case, and works
> > around some platform-specific quirks (some platforms
Old vsement...@virtuozzo.com is not accessible anymore.
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
v2: @ya.ru mailbox works bad with mailing lists and git send-email
command, @mail.ru works normally.
Probably, I'll have to change the email again in the near future. May be
not. But I think
* Peter Maydell (peter.mayd...@linaro.org) wrote:
> On Wed, 16 Mar 2022 at 07:53, David Hildenbrand wrote:
> >
> > On 16.03.22 05:04, Andrew Deason wrote:
> > > We have a thin wrapper around madvise, called qemu_madvise, which
> > > provides consistent behavior for the !CONFIG_MADVISE case, and wo
On Mon, 2022-03-14 at 18:27 -0400, Michael S. Tsirkin wrote:
> On Mon, Mar 14, 2022 at 03:45:47PM +, David Woodhouse wrote:
> > It's the opposite of a feature — it's turning the feature *off* ;)
>
> Right. Still - do you believe it's appropriate in soft freeze
> and if yes why?
>
Not sure I
From: Marc-André Lureau
Hi,
Various clean-up and fixes patches that might be worth it for 7.0.
Some of the patches have been posted and reviewed before.
Marc-André Lureau (27):
m68k/nios2-semi: fix gettimeofday() result check
meson: remove bsd_oses
meson: use chardev_ss dependencies
mes
From: Marc-André Lureau
gettimeofday() returns 0 for success.
Signed-off-by: Marc-André Lureau
Reviewed-by: Laurent Vivier
Reviewed-by: Richard Henderson
---
target/m68k/m68k-semi.c | 2 +-
target/nios2/nios2-semi.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tar
From: Marc-André Lureau
The socket API wrappers were initially introduced in commit
00aa0040 ("Wrap recv to avoid warnings"), but made redundant with
commit a2d96af4 ("osdep: add wrappers for socket functions") which fixes
the win32 declarations and thus removed the earlier warnings.
Signed-off-
From: Marc-André Lureau
chardev subsystem/library doesn't use gnutls. Use the dedicated
chardev_ss.dependencies() instead.
Signed-off-by: Marc-André Lureau
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 784e91753630..f20712cb
From: Marc-André Lureau
kinfo_getproc() requires it.
Signed-off-by: Marc-André Lureau
---
util/meson.build | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/util/meson.build b/util/meson.build
index f6ee74ad0c85..bb0b010662d7 100644
--- a/util/meson.build
+++ b/util/meso
From: Marc-André Lureau
One less qemu-specific macro. It also helps to make some headers/units
only depend on glib, and thus moved in standalone projects eventually.
Signed-off-by: Marc-André Lureau
---
audio/audio.h | 4 +--
block/qcow2.h |
On Wed, 2022-03-16 at 10:04 +0100, Igor Mammedov wrote:
> Well, I retested with the latest upstream kernel (both guest and host),
> and adding kvm_enable_x2apic() is not sufficient as guest according
> to your patches in kernel caps max APICID at 255 unless kvm-msi-ext-dest-id
> is enabled. And att
From: Marc-André Lureau
One less qemu-specific macro. It also helps to make some headers/units
only depend on glib, and thus moved in standalone projects eventually.
Signed-off-by: Marc-André Lureau
Reviewed-by: Richard Henderson
---
include/qemu/compiler.h| 2 --
include/qom/object.h
From: Marc-André Lureau
Signed-off-by: Marc-André Lureau
Suggested-by: Richard Henderson
---
include/qemu/osdep.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h
index 322103aadbdc..7175ee53a217 100644
--- a/include/qemu/osdep.h
+++ b/inclu
From: Marc-André Lureau
One less qemu-specific macro. It also helps to make some headers/units
only depend on glib, and thus moved in standalone projects eventually.
Signed-off-by: Marc-André Lureau
Reviewed-by: Richard Henderson
---
include/qemu-common.h | 2 +-
include/qemu/compiler.h
From: Marc-André Lureau
Replace a config-time define with a compile time condition
define (compatible with clang and gcc) that must be declared prior to
its usage. This avoids having a global configure time define, but also
prevents from bad usage, if the config header wasn't included before.
Th
From: Marc-André Lureau
Signed-off-by: Marc-André Lureau
---
scripts/modinfo-collect.py | 5 -
1 file changed, 5 deletions(-)
diff --git a/scripts/modinfo-collect.py b/scripts/modinfo-collect.py
index 61b90688c6dc..4e7584df6676 100755
--- a/scripts/modinfo-collect.py
+++ b/scripts/modinfo-
From: Marc-André Lureau
Simplify the macro, not depending on headers defines, but compiler
predefined __SIZEOF__POINTER__ only.
Available since gcc 4.3 and clang 2.8.
Signed-off-by: Marc-André Lureau
Acked-by: Richard Henderson
---
include/qemu/osdep.h | 8 +---
1 file changed, 1 inserti
From: Marc-André Lureau
This will help to make common code independent.
Signed-off-by: Marc-André Lureau
Reviewed-by: Richard Henderson
---
include/qemu/compiler.h | 3 +++
include/qemu/osdep.h| 3 ---
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/qemu/compiler.h
From: Marc-André Lureau
Signed-off-by: Marc-André Lureau
Reviewed-by: Richard Henderson
---
util/cutils.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/util/cutils.c b/util/cutils.c
index c9b91e7535a8..53346138c970 100644
--- a/util/cutils.c
+++ b/util/cutils.c
@@ -27,8 +27,6 @@
#inclu
From: Marc-André Lureau
Signed-off-by: Marc-André Lureau
Reviewed-by: Richard Henderson
---
qapi/qmp-dispatch.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/qapi/qmp-dispatch.c b/qapi/qmp-dispatch.c
index d378bccac73b..0990873ec8ec 100644
--- a/qapi/qmp-dispatch.c
+++ b/qapi/qmp-dispatch
From: Marc-André Lureau
Move qemu_ether_ntoa() which is only needed in net/.
Signed-off-by: Marc-André Lureau
Reviewed-by: Richard Henderson
Reviewed-by: Peter Maydell
---
include/qemu-common.h | 1 -
net/announce.c| 13 +
util/cutils.c | 14 --
3 fil
From: Marc-André Lureau
The current testing code isn't correct and matching QEMU usage:
testfile.c: In function 'main':
testfile.c:5:11: error: incorrect number of arguments to function
'__atomic_load'
5 | y = __atomic_load(&x, 0);
| ^
testfile.c:6:7: error
From: Marc-André Lureau
Apparently not needed anymore.
Signed-off-by: Marc-André Lureau
---
qga/main.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/qga/main.c b/qga/main.c
index 15fd3a4149f4..b9dd19918e47 100644
--- a/qga/main.c
+++ b/qga/main.c
@@ -27,7 +27,6 @@
#include "qapi/qmp/qerr
From: Marc-André Lureau
Signed-off-by: Marc-André Lureau
---
qapi/string-output-visitor.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/qapi/string-output-visitor.c b/qapi/string-output-visitor.c
index 5506c933deef..71ddc92b7b98 100644
--- a/qapi/string-output-visitor.c
+++ b/qapi/string-o
From: Marc-André Lureau
Add small inline wrappers for qobject_unref() calls, which is a macro.
Signed-off-by: Marc-André Lureau
---
include/qapi/qmp/qbool.h | 6 ++
include/qapi/qmp/qdict.h | 6 ++
include/qapi/qmp/qlist.h | 8 +++-
include/qapi/qmp/qnull.h | 6 ++
incl
From: Marc-André Lureau
Use more idiomatic glib/auto-style code.
Signed-off-by: Marc-André Lureau
---
tests/unit/check-qobject.c | 127 -
1 file changed, 40 insertions(+), 87 deletions(-)
diff --git a/tests/unit/check-qobject.c b/tests/unit/check-qobject.c
From: Marc-André Lureau
Signed-off-by: Marc-André Lureau
---
include/qemu/error-report.h | 2 --
qemu-io.c| 10 +-
softmmu/vl.c | 2 +-
storage-daemon/qemu-storage-daemon.c | 2 +-
trace/control.c | 2
From: Marc-André Lureau
Signed-off-by: Marc-André Lureau
---
qapi/qapi-forward-visitor.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/qapi/qapi-forward-visitor.c b/qapi/qapi-forward-visitor.c
index 4ea7e0bec3f5..e36d9bc9ba7e 100644
--- a/qapi/qapi-forward-visitor.c
+++ b/qapi/qapi-forward
From: Marc-André Lureau
Signed-off-by: Marc-André Lureau
---
tests/unit/check-qobject.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tests/unit/check-qobject.c b/tests/unit/check-qobject.c
index c1713d15af4e..c3d50e99949a 100644
--- a/tests/unit/check-qobject.c
+++ b/tests/unit/check-qobj
From: Marc-André Lureau
The macro doesn't need it.
Signed-off-by: Marc-André Lureau
---
configure| 2 +-
nbd/server.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 9e9b85147a5f..6d9cb23ac562 100755
--- a/configure
+++ b/configure
@@ -224
On Wed, Mar 16, 2022 at 09:37:07AM +, David Woodhouse wrote:
> On Wed, 2022-03-16 at 10:04 +0100, Igor Mammedov wrote:
> > Well, I retested with the latest upstream kernel (both guest and host),
> > and adding kvm_enable_x2apic() is not sufficient as guest according
> > to your patches in kerne
On 16/03/2022 10.53, marcandre.lur...@redhat.com wrote:
From: Marc-André Lureau
Replace a config-time define with a compile time condition
define (compatible with clang and gcc) that must be declared prior to
its usage. This avoids having a global configure time define, but also
prevents from b
On 16.03.22 10:37, Dr. David Alan Gilbert wrote:
> * Peter Maydell (peter.mayd...@linaro.org) wrote:
>> On Wed, 16 Mar 2022 at 07:53, David Hildenbrand wrote:
>>>
>>> On 16.03.22 05:04, Andrew Deason wrote:
We have a thin wrapper around madvise, called qemu_madvise, which
provides consis
From: Marc-André Lureau
It is unused.
Signed-off-by: Marc-André Lureau
---
meson.build | 1 -
1 file changed, 1 deletion(-)
diff --git a/meson.build b/meson.build
index bae62efc9c33..784e91753630 100644
--- a/meson.build
+++ b/meson.build
@@ -44,7 +44,6 @@ config_host_data = configuration_dat
From: Marc-André Lureau
It is only needed by char-pty.
Fix the code style while at it.
Signed-off-by: Marc-André Lureau
---
include/qemu-common.h | 2 -
chardev/char-pty.c| 111 +
util/qemu-openpty.c | 139 --
cha
From: Marc-André Lureau
(note: the test isn't working as intended, the next patches fixes it)
Signed-off-by: Marc-André Lureau
Reviewed-by: Richard Henderson
---
configure | 47 ---
meson.build | 39 +++
2 files
It takes an input file containing raw qmp commands (concatenated json
dicts) and send all commands one by one to a qmp server. When one
command fails, it exits.
As a convenience, it can also wrap the qemu process to avoid having
to start qemu in background. When wrapping qemu, the program returns
On Wed, Mar 16, 2022 at 10:37:49AM +, David Woodhouse wrote:
> On Wed, 2022-03-16 at 05:56 -0400, Michael S. Tsirkin wrote:
> > On Wed, Mar 16, 2022 at 09:37:07AM +, David Woodhouse wrote:
> > > Yep, that's the guest operating system's choice. Not a qemu problem.
> > >
> > > Even if you ha
On Wed, 2022-03-16 at 05:56 -0400, Michael S. Tsirkin wrote:
> On Wed, Mar 16, 2022 at 09:37:07AM +, David Woodhouse wrote:
> > Yep, that's the guest operating system's choice. Not a qemu problem.
> >
> > Even if you have the split IRQ chip, if you boot a guest without kvm-
> > msi-ext-dest-id
On Wed, Mar 16, 2022 at 11:30:59AM +0800, Peter Xu wrote:
> On Tue, Mar 15, 2022 at 11:15:41AM +, Daniel P. Berrangé wrote:
> > > I still remember you mentioned the upper layer softwares can have
> > > assumption on using only 1 pair of socket for migration, I think that
> > > makes
> > > post
On Wed, Mar 16, 2022 at 10:54:55AM +0100, Damien Hedde wrote:
> It takes an input file containing raw qmp commands (concatenated json
> dicts) and send all commands one by one to a qmp server. When one
> command fails, it exits.
>
> As a convenience, it can also wrap the qemu process to avoid havi
On Wed, Mar 16, 2022 at 09:59:28AM +, Daniel P. Berrangé wrote:
> On Wed, Mar 16, 2022 at 11:30:59AM +0800, Peter Xu wrote:
> > On Tue, Mar 15, 2022 at 11:15:41AM +, Daniel P. Berrangé wrote:
> > > > I still remember you mentioned the upper layer softwares can have
> > > > assumption on usi
On Wed, Mar 16, 2022 at 06:40:08PM +0800, Peter Xu wrote:
> On Wed, Mar 16, 2022 at 09:59:28AM +, Daniel P. Berrangé wrote:
> > On Wed, Mar 16, 2022 at 11:30:59AM +0800, Peter Xu wrote:
> > > On Tue, Mar 15, 2022 at 11:15:41AM +, Daniel P. Berrangé wrote:
> > > > > I still remember you ment
On Mon, 14 Mar 2022 19:58:11 +0100
Christian Schoenebeck wrote:
> The 'synth' driver's root node and the 'synth' driver's first
> subdirectory node falsely share the same inode number (zero), which
> makes it impossible for 9p clients (i.e. 9p test cases) to distinguish
> root node and first subd
Queued, thanks.
Paolo
On Wed, 16 Mar 2022 11:28:59 +0100
Thomas Huth wrote:
> On 16/03/2022 10.53, marcandre.lur...@redhat.com wrote:
> > From: Marc-André Lureau
> >
> > Replace a config-time define with a compile time condition
> > define (compatible with clang and gcc) that must be declared prior to
> > its usage.
Hi
On Wed, Mar 16, 2022 at 3:16 PM Halil Pasic wrote:
>
> On Wed, 16 Mar 2022 11:28:59 +0100
> Thomas Huth wrote:
>
> > On 16/03/2022 10.53, marcandre.lur...@redhat.com wrote:
> > > From: Marc-André Lureau
> > >
> > > Replace a config-time define with a compile time condition
> > > define (comp
On 16/03/2022 12.15, Halil Pasic wrote:
On Wed, 16 Mar 2022 11:28:59 +0100
Thomas Huth wrote:
On 16/03/2022 10.53, marcandre.lur...@redhat.com wrote:
From: Marc-André Lureau
Replace a config-time define with a compile time condition
define (compatible with clang and gcc) that must be declar
On Wed, 16 Mar 2022 06:47:48 -0400
"Michael S. Tsirkin" wrote:
> On Wed, Mar 16, 2022 at 10:37:49AM +, David Woodhouse wrote:
> > On Wed, 2022-03-16 at 05:56 -0400, Michael S. Tsirkin wrote:
> > > On Wed, Mar 16, 2022 at 09:37:07AM +, David Woodhouse wrote:
> > > > Yep, that's the gue
在 2022/3/16 12:09, Peter Xu 写道:
On Wed, Mar 16, 2022 at 10:21:38AM +0800, huang...@chinatelecom.cn wrote:
+void cleanup(const char *filename)
+{
+g_autofree char *path = g_strdup_printf("%s/%s", tmpfs, filename);
+
+unlink(path);
+}
If to move most of these tmpfs helpers out anyway,
On Wed, 16 Mar 2022 13:53:07 +0400
marcandre.lur...@redhat.com wrote:
> From: Marc-André Lureau
>
> Replace a config-time define with a compile time condition
> define (compatible with clang and gcc) that must be declared prior to
> its usage. This avoids having a global configure time define, b
Peter Maydell writes:
> Currently the CPU_LOG_INT logging misses some useful information
> about loads from the vector table. Add logging where we load vector
> table entries. This is particularly helpful for cases where the user
> has accidentally not put a vector table in their image at all
Beraldo Leal writes:
> Race conditions can happen with the current code, because the port that
> was available might not be anymore by the time the server is started.
>
> By setting the port to 0, PhoneServer it will use the OS default
> behavior to get a free port, then we save this informatio
Peter Maydell writes:
> For M-profile, the fault address is not always exposed to the guest
> in a fault register (for instance the BFAR bus fault address register
> is only updated for bus faults on data accesses, not instruction
> accesses). Currently we log the address only if we're putting
marcandre.lur...@redhat.com writes:
> From: Marc-André Lureau
>
> Signed-off-by: Marc-André Lureau
> Reviewed-by: Richard Henderson
> ---
> qapi/qmp-dispatch.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/qapi/qmp-dispatch.c b/qapi/qmp-dispatch.c
> index d378bccac73b..0990873ec8ec 1
On Wed, Mar 16, 2022 at 01:52:48PM +0400, marcandre.lur...@redhat.com wrote:
> From: Marc-André Lureau
>
> One less qemu-specific macro. It also helps to make some headers/units
> only depend on glib, and thus moved in standalone projects eventually.
>
> Signed-off-by: Marc-André Lureau
I chec
marcandre.lur...@redhat.com writes:
> From: Marc-André Lureau
>
> Signed-off-by: Marc-André Lureau
> ---
> qapi/string-output-visitor.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/qapi/string-output-visitor.c b/qapi/string-output-visitor.c
> index 5506c933deef..71ddc92b7b98 100644
>
I'd prefer
error: Use GLib to remember the program name
marcandre.lur...@redhat.com writes:
> From: Marc-André Lureau
>
> Signed-off-by: Marc-André Lureau
Reviewed-by: Markus Armbruster
On 3/15/22 19:58, Peter Maydell wrote:
On Tue, 15 Mar 2022 at 11:20, Thomas Huth wrote:
Hi Peter!
The following changes since commit 352998df1c53b366413690d95b35f76d0721ebed:
Merge tag 'i2c-20220314' of https://github.com/philmd/qemu into staging
(2022-03-14 14:39:33 +)
are availa
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:
> > > This implements a VDUSE block backends based on
> > > the libvduse library. We can use it to export the BDS
On 3/15/22 20:30, Peter Maydell wrote:
coredata.CoreData
File "/Users/pm215/src/qemu-for-merges/meson/mesonbuild/coredata.py",
line 1003, in load
obj = pickle.load(f)
File
"/Users/pm215/src/qemu-for-merges/meson/mesonbuild/mesonlib/universal.py",
line 2076, in __setstate__
self._
marcandre.lur...@redhat.com writes:
> From: Marc-André Lureau
>
> Signed-off-by: Marc-André Lureau
> ---
> tests/unit/check-qobject.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/tests/unit/check-qobject.c b/tests/unit/check-qobject.c
> index c1713d15af4e..c3d50e99949a 100644
> --- a
On Tue, Mar 15, 2022 at 03:30:22PM -0400, John Snow wrote:
> On Tue, Mar 15, 2022 at 4:47 AM Stefan Hajnoczi wrote:
> >
> > On Mon, Mar 14, 2022 at 03:09:35PM -0400, John Snow wrote:
> > > On Mon, Mar 14, 2022 at 1:23 PM Stefan Hajnoczi
> > > wrote:
> > > >
> > > > On Tue, Feb 15, 2022 at 06:59:
On 3/15/22 19:58, Peter Maydell wrote:
This results in every "Linking" step on my macos box producing the
warning:
ld: warning: directory not found for option
'-Lns/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0'
This was reported already back in January
On Tue, Mar 15, 2022 at 06:29:50PM +0100, Paolo Bonzini wrote:
> On 3/15/22 15:24, Peter Maydell wrote:
> > On Tue, 15 Mar 2022 at 14:09, Stefan Hajnoczi wrote:
> > > Also, once C++ is available people will
> > > start submitting C++ patches simply because they are more comfortable
> > > with C++
marcandre.lur...@redhat.com writes:
> From: Marc-André Lureau
>
> Add small inline wrappers for qobject_unref() calls, which is a macro.
>
> Signed-off-by: Marc-André Lureau
> ---
> include/qapi/qmp/qbool.h | 6 ++
> include/qapi/qmp/qdict.h | 6 ++
> include/qapi/qmp/qlist.h | 8
On Wed, 16 Mar 2022 at 08:14, Thomas Huth wrote:
>
> Hi Peter!
>
> The following changes since commit d6f229f9a0592c4d5beb0a5c4e024231c27680d3:
>
> Update version for v7.0.0-rc0 release (2022-03-15 23:07:40 +)
>
> are available in the Git repository at:
>
> https://gitlab.com/thuth/qemu.g
Compiling with clang++ of msys2 toolchain clang64 leads to an error
on initializing 'char*' variable nul with a 'const char*' value
Signed-off-by: Helge Konetzka
---
Compiling with clang++ of msys2 toolchain clang64 leads to
[1445/1747] Compiling C++ object qga/vss-win32/qga-vss.dll.p/install.c
marcandre.lur...@redhat.com writes:
> From: Marc-André Lureau
>
> Signed-off-by: Marc-André Lureau
> ---
> qapi/qapi-forward-visitor.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/qapi/qapi-forward-visitor.c b/qapi/qapi-forward-visitor.c
> index 4ea7e0bec3f5..e36d9bc9ba7e 100644
> --
Hi
On Wed, Mar 16, 2022 at 4:31 PM Markus Armbruster wrote:
>
> marcandre.lur...@redhat.com writes:
>
> > From: Marc-André Lureau
> >
> > Add small inline wrappers for qobject_unref() calls, which is a macro.
> >
> > Signed-off-by: Marc-André Lureau
> > ---
> > include/qapi/qmp/qbool.h | 6 +
QEMU plugins can be loaded via command line arguments or via
the QEMU_PLUGIN environment variable. Currently, only the first method
is documented. Let's document QEMU_PLUGIN.
Signed-off-by: Christoph Muellner
---
docs/devel/tcg-plugins.rst | 4
1 file changed, 4 insertions(+)
diff --git a/
On Wed, Mar 16, 2022 at 12:08:33AM +0100, Paolo Bonzini wrote:
> On 3/15/22 16:55, Daniel P. Berrangé wrote:
> > Expecting maintainers to enforce a subset during code review feels
> > like it would be a tedious burden, that will inevitably let stuff
> > through because humans are fallible, especial
marcandre.lur...@redhat.com writes:
> From: Marc-André Lureau
>
> Use more idiomatic glib/auto-style code.
>
> Signed-off-by: Marc-André Lureau
This is a bit of an improvement, but by its own, it's a rather weak
justification for the previous patch. Do you have more uses of
g_autoptr in the pi
Hi,
On 4/3/22 17:46, Kevin Wolf wrote:
From: Emanuele Giuseppe Esposito
All the global state (GS) API functions will check that
qemu_in_main_thread() returns true. If not, it means
that the safety of BQL cannot be guaranteed, and
they need to be moved to I/O.
I'm getting this crash:
$ qemu-
On 16/3/22 13:44, Philippe Mathieu-Daudé wrote:
Hi,
On 4/3/22 17:46, Kevin Wolf wrote:
From: Emanuele Giuseppe Esposito
All the global state (GS) API functions will check that
qemu_in_main_thread() returns true. If not, it means
that the safety of BQL cannot be guaranteed, and
they need to be
On 16/3/22 13:31, Helge Konetzka wrote:
Compiling with clang++ of msys2 toolchain clang64 leads to an error
on initializing 'char*' variable nul with a 'const char*' value
Can you include the error message in the description? I.e.:
'''
This fixes:
qga/vss-win32/install.cpp:49:24: error: cann
On 15/3/22 21:43, Peter Maydell wrote:
Our current logging for M-profile exceptions has a couple of holes
which are particularly confusing for the case of an exception taken
immediately out of reset:
* we don't log the initial PC/SP loaded from the vector table
* we don't log the PC we load f
Marc-André Lureau writes:
> Hi
>
> On Wed, Mar 16, 2022 at 4:31 PM Markus Armbruster wrote:
>>
>> marcandre.lur...@redhat.com writes:
>>
>> > From: Marc-André Lureau
>> >
>> > Add small inline wrappers for qobject_unref() calls, which is a macro.
>> >
>> > Signed-off-by: Marc-André Lureau
>> >
Hi
On Wed, Mar 16, 2022 at 4:33 PM Markus Armbruster wrote:
>
> marcandre.lur...@redhat.com writes:
>
> > From: Marc-André Lureau
> >
> > Use more idiomatic glib/auto-style code.
> >
> > Signed-off-by: Marc-André Lureau
>
> This is a bit of an improvement, but by its own, it's a rather weak
> j
On Wed, Mar 16, 2022 at 4:41 PM Helge Konetzka wrote:
> Compiling with clang++ of msys2 toolchain clang64 leads to an error
> on initializing 'char*' variable nul with a 'const char*' value
>
> Signed-off-by: Helge Konetzka
>
Reviewed-by: Marc-André Lureau
> ---
> Compiling with clang++ of m
On 16/3/22 10:53, marcandre.lur...@redhat.com wrote:
From: Marc-André Lureau
Replace a config-time define with a compile time condition
define (compatible with clang and gcc) that must be declared prior to
its usage. This avoids having a global configure time define, but also
prevents from bad
From: Hyman Huang(黄勇)
Introduce cpu_list_generation_id to track cpu list generation so
that cpu hotplug/unplug can be detected during measurement of
dirty page rate.
cpu_list_generation_id could be used to detect changes of cpu
list, which is prepared for dirty page rate measurement.
Signed-off
Hi Philippe,
How did you trigger this? What is the call stack?
>From a first look, all callers of blk_all_next also call
GLOBAL_STATE_CODE, except qmp_* functions.
That would be useful to understand if we need to change the function
assertion and classification, or the caller is breaking some inv
Marc-André Lureau writes:
> Hi
>
> On Wed, Mar 16, 2022 at 4:33 PM Markus Armbruster wrote:
>>
>> marcandre.lur...@redhat.com writes:
>>
>> > From: Marc-André Lureau
>> >
>> > Use more idiomatic glib/auto-style code.
>> >
>> > Signed-off-by: Marc-André Lureau
>>
>> This is a bit of an improvem
On Fri, Mar 11, 2022 at 5:46 PM Weiwei Li wrote:
>
> For csrrs and csrrc, if rs1 specifies a register other than x0, holding
> a zero value, the instruction will still attempt to write the unmodified
> value back to the csr and will cause side effects
>
> v2:
> * change to explictly pass "bool wri
On Wed, Mar 16, 2022 at 12:32:48PM +, Stefan Hajnoczi wrote:
> On Tue, Mar 15, 2022 at 06:29:50PM +0100, Paolo Bonzini wrote:
> > On 3/15/22 15:24, Peter Maydell wrote:
> > > On Tue, 15 Mar 2022 at 14:09, Stefan Hajnoczi wrote:
> > > > Also, once C++ is available people will
> > > > start subm
From: Hyman Huang(黄勇)
Implement dirtyrate calculation periodically basing on
dirty-ring and throttle virtual CPU until it reachs the quota
dirty page rate given by user.
Introduce qmp commands "set-vcpu-dirty-limit",
"cancel-vcpu-dirty-limit", "query-vcpu-dirty-limit"
to enable, disable, query d
On 16/3/22 07:10, Akihiko Odaki wrote:
The unused variables when FLOAT_MIXENG is defined caused warnings on
Apple clang version 13.1.6 (clang-1316.0.21.2).
Signed-off-by: Akihiko Odaki
---
audio/mixeng.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Philippe Ma
From: Hyman Huang(黄勇)
Add dirty page rate limit test if kernel support dirty ring,
create a standalone file to implement the test case.
The following qmp commands are covered by this test case:
"calc-dirty-rate", "query-dirty-rate", "set-vcpu-dirty-limit",
"cancel-vcpu-dirty-limit" and "query-vc
From: Hyman Huang(黄勇)
Add a non-required argument 'CPUState' to kvm_dirty_ring_reap so
that it can cover single vcpu dirty-ring-reaping scenario.
Signed-off-by: Hyman Huang(黄勇)
Reviewed-by: Peter Xu
---
accel/kvm/kvm-all.c | 23 +--
1 file changed, 13 insertions(+), 10 del
1 - 100 of 293 matches
Mail list logo