On Wed, Nov 03, 2021 at 02:29:12PM +0100, Vladimir Sementsov-Ogievskiy wrote:
> Modern way is using blockdev-add + blockdev-backup, which provides a
> lot more control on how target is opened.
>
>
> Signed-off-by: Vladimir Sementsov-Ogievskiy
> Reviewed-by: Kashyap Chamarthy
> ---
>
It won't cause any harm as cpus is NULL when we pass a negative ncpus,
but doing so when the function expects unsigned value is not right.
Signed-off-by: Jiri Denemark
---
src/conf/capabilities.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/conf/capabilities.c
The return value was not properly checked in the code for input type
evdev.
Signed-off-by: Jiri Denemark
---
src/qemu/qemu_command.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index 45278c7108..483041f584
Signed-off-by: Jiri Denemark
---
src/util/virnetdevopenvswitch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/util/virnetdevopenvswitch.c b/src/util/virnetdevopenvswitch.c
index 250726a633..5dab545037 100644
--- a/src/util/virnetdevopenvswitch.c
+++
On Thu, Nov 04, 2021 at 07:08:53PM +0100, Kashyap Chamarthy wrote:
> On Thu, Nov 04, 2021 at 01:22:52PM +0100, Michal Privoznik wrote:
> > It may come handy to be able to tweak TCG options, in this
> > specific case the size of translation block cache size (tb-size).
> > Since we can expect more
On Thu, Nov 04, 2021 at 01:22:52PM +0100, Michal Privoznik wrote:
> It may come handy to be able to tweak TCG options, in this
> specific case the size of translation block cache size (tb-size).
> Since we can expect more knobs to tweak let's put them under
> common element, like this:
>
>
>
On Thu, Nov 04, 2021 at 01:22:53PM +0100, Michal Privoznik wrote:
> Alright, here's the deal: to enable tb-cache one has to use
> '-accel tcg,tb-size=' which then conflicts with '-machine
> accel=tcg'. But sure, we can use the old -accel in this specific
> case. But because of how the tb-size
On Thu, Nov 04, 2021 at 01:22:53PM +0100, Michal Privoznik wrote:
> Alright, here's the deal: to enable tb-cache one has to use
> '-accel tcg,tb-size=' which then conflicts with '-machine
> accel=tcg'. But sure, we can use the old -accel in this specific
> case. But because of how the tb-size
On Thu, Nov 04, 2021 at 01:22:51PM +0100, Michal Privoznik wrote:
[...]
> Michal Prívozník (2):
> conf: Introduce TCG domain features
> qemu: Generate command line for tb-cache feature
>
> docs/formatdomain.rst | 11 +++
> docs/schemas/domaincommon.rng
Signed-off-by: Tim Wiederhake
---
src/libvirt_private.syms | 1 +
src/util/virhostcpu.c| 43
src/util/virhostcpu.h| 2 ++
3 files changed, 46 insertions(+)
diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms
index
Signed-off-by: Tim Wiederhake
---
src/cpu/cpu.c| 21 +
src/cpu/cpu.h| 7 +++
src/libvirt_private.syms | 1 +
3 files changed, 29 insertions(+)
diff --git a/src/cpu/cpu.c b/src/cpu/cpu.c
index 0c1c7902f0..b5669246b4 100644
--- a/src/cpu/cpu.c
+++
Signed-off-by: Tim Wiederhake
---
src/cpu/cpu_arm.c | 27 +++
1 file changed, 27 insertions(+)
diff --git a/src/cpu/cpu_arm.c b/src/cpu/cpu_arm.c
index ac174891b7..c9114d53bf 100644
--- a/src/cpu/cpu_arm.c
+++ b/src/cpu/cpu_arm.c
@@ -124,6 +124,32 @@
Signed-off-by: Tim Wiederhake
---
src/cpu/cpu_arm.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/cpu/cpu_arm.c b/src/cpu/cpu_arm.c
index 09ade1d422..ac174891b7 100644
--- a/src/cpu/cpu_arm.c
+++ b/src/cpu/cpu_arm.c
@@ -39,12 +39,11 @@
#include "virxml.h"
Signed-off-by: Tim Wiederhake
---
src/cpu/cpu_x86.c | 69 +++
1 file changed, 69 insertions(+)
diff --git a/src/cpu/cpu_x86.c b/src/cpu/cpu_x86.c
index a08ac225ef..5ce193e693 100644
--- a/src/cpu/cpu_x86.c
+++ b/src/cpu/cpu_x86.c
@@ -3332,6 +3332,74
This makes it possible to call virCPUDataParse with a xmlNodePtr,
which will be required by a later patch.
Signed-off-by: Tim Wiederhake
---
src/cpu/cpu.c| 29 +
src/cpu/cpu.h| 2 ++
src/libvirt_private.syms | 1 +
3 files changed, 24
Signed-off-by: Tim Wiederhake
---
src/cpu/cpu.c| 28
src/cpu/cpu.h| 9 +
src/libvirt_private.syms | 1 +
3 files changed, 38 insertions(+)
diff --git a/src/cpu/cpu.c b/src/cpu/cpu.c
index b97d06c7d8..0c1c7902f0 100644
---
The function does not need a full xmlXPathContextPtr any longer and a
later patch will require a call to this function with only a xmlNodePtr
available.
Signed-off-by: Tim Wiederhake
---
src/cpu/cpu.c | 2 +-
src/cpu/cpu.h | 2 +-
src/cpu/cpu_x86.c | 4 ++--
3 files changed, 4
... by using virXMLProp*() helpers. These only require a xmlNodePtr and
do not need a xmlXPathContextPtr. Reflect that in the function signature.
Signed-off-by: Tim Wiederhake
---
src/cpu/cpu_x86.c | 26 +++---
1 file changed, 11 insertions(+), 15 deletions(-)
diff --git
Many things can affect the availability of cpu features (e.g. software
upgrades, kernel versions, kernel command line, etc.) and invalidate the
cached capabilities without notice. Add CPUID information to the
capabilities cache.
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1953389.
V1:
See https://bugzilla.redhat.com/show_bug.cgi?id=1953389.
Signed-off-by: Tim Wiederhake
---
src/qemu/qemu_capabilities.c | 15 ---
src/qemu/qemu_capspriv.h | 3 ++-
tests/qemucapsprobe.c| 2 +-
3 files changed, 15 insertions(+), 5 deletions(-)
diff --git
Many things can affect the availability of cpu flags (e.g. software
upgrades, kernel versions, kernel command line, etc.) and invalidate the
cached capabilities without notice. Add CPUID information to the
capabilities cache.
Signed-off-by: Tim Wiederhake
---
src/qemu/qemu_capabilities.c | 16
Signed-off-by: Tim Wiederhake
---
src/cpu/cpu.c| 19 +++
src/cpu/cpu.h| 7 +++
src/libvirt_private.syms | 1 +
3 files changed, 27 insertions(+)
diff --git a/src/cpu/cpu.c b/src/cpu/cpu.c
index b5669246b4..285c7eee44 100644
--- a/src/cpu/cpu.c
+++
Signed-off-by: Tim Wiederhake
---
src/qemu/qemu_capabilities.c | 4
1 file changed, 4 insertions(+)
diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
index b2d5242264..5fa3111201 100644
--- a/src/qemu/qemu_capabilities.c
+++ b/src/qemu/qemu_capabilities.c
@@ -4023,6
Signed-off-by: Tim Wiederhake
---
src/cpu/cpu_x86.c | 40
1 file changed, 40 insertions(+)
diff --git a/src/cpu/cpu_x86.c b/src/cpu/cpu_x86.c
index 0dc9a7d9fb..a72eae07dd 100644
--- a/src/cpu/cpu_x86.c
+++ b/src/cpu/cpu_x86.c
@@ -20,6 +20,9 @@
Signed-off-by: Tim Wiederhake
---
src/cpu/cpu_ppc64.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/src/cpu/cpu_ppc64.c b/src/cpu/cpu_ppc64.c
index fcd68c8a7c..c7caaa9608 100644
--- a/src/cpu/cpu_ppc64.c
+++ b/src/cpu/cpu_ppc64.c
@@ -603,6 +603,23 @@
Signed-off-by: Tim Wiederhake
---
src/cpu/cpu_x86.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/src/cpu/cpu_x86.c b/src/cpu/cpu_x86.c
index 5ce193e693..0dc9a7d9fb 100644
--- a/src/cpu/cpu_x86.c
+++ b/src/cpu/cpu_x86.c
@@ -481,6 +481,23 @@
... by using virXMLProp*() helpers. These only require a xmlNodePtr and
do not need a xmlXPathContextPtr. Reflect that in the function signature.
Signed-off-by: Tim Wiederhake
---
src/cpu/cpu_x86.c | 43 +--
1 file changed, 17 insertions(+), 26
Signed-off-by: Tim Wiederhake
---
src/cpu/cpu_arm.c | 20
1 file changed, 20 insertions(+)
diff --git a/src/cpu/cpu_arm.c b/src/cpu/cpu_arm.c
index c9114d53bf..51a3c1f3ee 100644
--- a/src/cpu/cpu_arm.c
+++ b/src/cpu/cpu_arm.c
@@ -150,6 +150,25 @@
Signed-off-by: Tim Wiederhake
---
src/cpu/cpu_ppc64.c | 26 ++
1 file changed, 26 insertions(+)
diff --git a/src/cpu/cpu_ppc64.c b/src/cpu/cpu_ppc64.c
index 4909f61ff1..fcd68c8a7c 100644
--- a/src/cpu/cpu_ppc64.c
+++ b/src/cpu/cpu_ppc64.c
@@ -578,6 +578,31 @@
Factor out duplicated code from x86FeatureParse and virCPUx86DataParse.
This also consolidates error messages.
Signed-off-by: Tim Wiederhake
---
src/cpu/cpu_x86.c | 106 ++
1 file changed, 41 insertions(+), 65 deletions(-)
diff --git
On 11/3/21 2:09 PM, Ján Tomko wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=1431589
>
> Ján Tomko (3):
> remote: warn on low SSF
> daemon: virNetSASLContext: store tcpMinSSF
> daemon: add tcp_min_ssf option
>
> src/libvirt_sasl.syms | 1 +
>
On Wed, Nov 03, 2021 at 11:53:24 +0100, Ján Tomko wrote:
> Tim already acked v1, but I noticed a failure in the CI in patch
> 5/7 because with the latest caps, we try to create a logfile for
> one chardev in /tmp.
>
> Fix that by only testing name-escape with v2.11.0 QEMU caps.
> I've heard
On 11/2/21 05:38, Michal Prívozník wrote:
On 11/1/21 6:23 PM, Stefan Berger wrote:
So this runs reconfigure on every cold boot of a guest. I wonder whether
there's a way to run it just once, when activePcrBanks have changed.
For instance, in qemuDomainDefineXMLFlags() the @oldDef is set to
On Thu, Nov 4, 2021 at 1:07 PM Christian Ehrhardt
wrote:
>
> On Tue, Nov 2, 2021 at 3:04 PM Ioanna Alifieraki
> wrote:
> >
> > This is a v2 of the patches sent previously and hopefully makes things
> > simpler.
> > (previous patches subject: [PATCH 0/4] virt-aa-helper: Add new option to
> >
It may come handy to be able to tweak TCG options, in this
specific case the size of translation block cache size (tb-size).
Since we can expect more knobs to tweak let's put them under
common element, like this:
128
Signed-off-by: Michal Privoznik
---
*** BLURB HERE ***
Michal Prívozník (2):
conf: Introduce TCG domain features
qemu: Generate command line for tb-cache feature
docs/formatdomain.rst | 11 +++
docs/schemas/domaincommon.rng | 15 +++-
src/conf/domain_conf.c| 90
Alright, here's the deal: to enable tb-cache one has to use
'-accel tcg,tb-size=' which then conflicts with '-machine
accel=tcg'. But sure, we can use the old -accel in this specific
case. But because of how the tb-size argument is defined in QEMU
there's no way for us to have a capability check.
On Tue, Nov 2, 2021 at 3:04 PM Ioanna Alifieraki
wrote:
>
> This is a v2 of the patches sent previously and hopefully makes things
> simpler.
> (previous patches subject: [PATCH 0/4] virt-aa-helper: Add new option to
> remove corrupted).
>
> This patch aims to address the bug reported in [1]
See 03 commit message for details. 01-02 are preparation docs update.
v4: deprecate drive-backup transaction by squashing
[PATCH v4 5/5] block: Deprecate transaction type drive-backup
Message-Id: <20211025042405.3762351-6-arm...@redhat.com>
into PATCH 3
v3: wording fix-ups
From: Vladimir Sementsov-Ogievskiy
Modern way is using blockdev-add + blockdev-backup, which provides a
lot more control on how target is opened.
As example of drive-backup problems consider the following:
User of drive-backup expects that target will be opened in the same
cache and aio mode
From: Vladimir Sementsov-Ogievskiy
We are going to deprecate drive-backup, so don't mention it here.
Moreover, blockdev-backup seems more correct in the context.
Signed-off-by: Vladimir Sementsov-Ogievskiy
Reviewed-by: John Snow
Signed-off-by: Markus Armbruster
---
From: Vladimir Sementsov-Ogievskiy
We are going to deprecate drive-backup, so use modern interface here.
In examples where target image creation is shown, show blockdev-add as
well. If target creation omitted, omit blockdev-add as well.
Reviewed-by: Kashyap Chamarthy
Signed-off-by: Vladimir
42 matches
Mail list logo