09.06.2021 13:49, Markus Armbruster wrote:
Vladimir Sementsov-Ogievskiy writes:
08.06.2021 14:12, Markus Armbruster wrote:
Vladimir Sementsov-Ogievskiy writes:
[...]
TODO: We also need to deprecate drive-backup transaction action..
But union members in QAPI doesn't support 'deprecated'
On Mon, Jul 05, 2021 at 05:36:43PM +0200, Tim Wiederhake wrote:
> Signed-off-by: Tim Wiederhake
> ---
> src/qemu/qemu_monitor.c | 10 +++---
> 1 file changed, 3 insertions(+), 7 deletions(-)
>
> diff --git a/src/qemu/qemu_monitor.c b/src/qemu/qemu_monitor.c
> index 86aabc98c3..f08b43bbfb
On Mon, Jul 05, 2021 at 05:36:42PM +0200, Tim Wiederhake wrote:
> `virHashNew` cannot return NULL, the check is not needed.
>
> Signed-off-by: Tim Wiederhake
> ---
> src/qemu/qemu_monitor.c | 12 ++--
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git
Signed-off-by: Tim Wiederhake
---
src/qemu/qemu_monitor.c | 16 ++--
1 file changed, 6 insertions(+), 10 deletions(-)
diff --git a/src/qemu/qemu_monitor.c b/src/qemu/qemu_monitor.c
index f03d6106f9..2c43cc0788 100644
--- a/src/qemu/qemu_monitor.c
+++ b/src/qemu/qemu_monitor.c
@@
Signed-off-by: Tim Wiederhake
---
src/qemu/qemu_monitor.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/qemu/qemu_monitor.c b/src/qemu/qemu_monitor.c
index 2c43cc0788..a63056f0a0 100644
--- a/src/qemu/qemu_monitor.c
+++ b/src/qemu/qemu_monitor.c
@@ -2885,16 +2885,13
Signed-off-by: Tim Wiederhake
---
src/qemu/qemu_monitor.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/qemu/qemu_monitor.c b/src/qemu/qemu_monitor.c
index de0f6ccf7d..9f0b20db09 100644
--- a/src/qemu/qemu_monitor.c
+++ b/src/qemu/qemu_monitor.c
@@ -2103,7 +2103,7
Signed-off-by: Tim Wiederhake
---
src/qemu/qemu_monitor.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/qemu/qemu_monitor.c b/src/qemu/qemu_monitor.c
index 9f0b20db09..dba2fb1982 100644
--- a/src/qemu/qemu_monitor.c
+++ b/src/qemu/qemu_monitor.c
@@ -2103,13 +2103,10
Signed-off-by: Tim Wiederhake
---
src/qemu/qemu_monitor.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/qemu/qemu_monitor.c b/src/qemu/qemu_monitor.c
index f08b43bbfb..de0f6ccf7d 100644
--- a/src/qemu/qemu_monitor.c
+++ b/src/qemu/qemu_monitor.c
@@ -2103,7 +2103,6
Signed-off-by: Tim Wiederhake
---
src/qemu/qemu_monitor.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/qemu/qemu_monitor.c b/src/qemu/qemu_monitor.c
index dba2fb1982..f03d6106f9 100644
--- a/src/qemu/qemu_monitor.c
+++ b/src/qemu/qemu_monitor.c
@@ -2885,7 +2885,6
Signed-off-by: Tim Wiederhake
---
src/qemu/qemu_monitor.c | 10 +++---
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/src/qemu/qemu_monitor.c b/src/qemu/qemu_monitor.c
index 86aabc98c3..f08b43bbfb 100644
--- a/src/qemu/qemu_monitor.c
+++ b/src/qemu/qemu_monitor.c
@@ -2155,7
Signed-off-by: Tim Wiederhake
---
src/qemu/qemu_monitor.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/qemu/qemu_monitor.c b/src/qemu/qemu_monitor.c
index 8f35b4240f..df1e41f68f 100644
--- a/src/qemu/qemu_monitor.c
+++ b/src/qemu/qemu_monitor.c
@@ -2162,8 +2162,7 @@
Signed-off-by: Tim Wiederhake
---
src/qemu/qemu_monitor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/qemu/qemu_monitor.c b/src/qemu/qemu_monitor.c
index df1e41f68f..19fcc5658b 100644
--- a/src/qemu/qemu_monitor.c
+++ b/src/qemu/qemu_monitor.c
@@ -2154,7 +2154,7 @@
`virHashNew` cannot return NULL, the check is not needed.
Signed-off-by: Tim Wiederhake
---
src/qemu/qemu_monitor.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/qemu/qemu_monitor.c b/src/qemu/qemu_monitor.c
index 19fcc5658b..86aabc98c3 100644
---
"virHashNew" cannot return NULL, yet we check for NULL in various places.
This series is the first of several that remove these checks. Where
applicable, the functions are refactored to use automatic memory management
by means of g_autoptr etc. as well.
Tim Wiederhake (10):
On Thu, 2021-07-01 at 20:10 +0800, Haibin Huang wrote:
> 1.Add SGX feature in domain capabilities
> 2.Get sgx capabilities by query-sgx-capabilities
> 3.Transfer the B to KB for epc_size
> 4.Delete sgx1 and sgx2
> 5.add unit test for get capabilities
>
> Signed-off-by: Haibin Huang
> ---
>
On Thu, 2021-07-01 at 20:10 +0800, Haibin Huang wrote:
> From: Lin Yang
>
> According to the result parsing from xml, add the argument of
> SGX EPC memory backend into QEMU command line:
>
> -object memory-backend-epc,id=mem1,size=K,prealloc \
> -sgx-epc id=epc1,memdev=mem1
> ---
>
On Thu, 2021-07-01 at 20:10 +0800, Haibin Huang wrote:
> From: Lin Yang
>
> If SGX is defined in domain, add the argument to enable
> SGX in -cpu :
>
> -cpu ,+sgx,+sgx-debug,+sgx1,+sgx-encls-c,
> +sgx-enclv,+sgx-exinfo,+sgx-kss,+sgx-mode64,
>
On Thu, 2021-07-01 at 20:10 +0800, Haibin Huang wrote:
> From: Lin Yang
>
>
> 1024
>
Please also update "docs/schemas/domaincommon.rng".
> ---
> src/conf/domain_conf.c | 106 +-
> --
> src/conf/domain_conf.h | 10
> src/conf/virconftypes.h
On Mon, Jul 05, 2021 at 00:15:56 +0200, Olaf Hering wrote:
> I got a couple of "g_strv_contains: assertion 'strv != NULL' failed" in the
> past days.
>
> It seems qemuMonitorGetTPMModels can write NULL into "models" in
> "virQEMUCapsProbeQMPTPM()".
> As a result g_strv_contains will crash with
Signed-off-by: Tim Wiederhake
---
src/conf/domain_conf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index db8ec23d70..2d8ae7e860 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -14721,7 +14721,7 @@
Signed-off-by: Tim Wiederhake
---
src/conf/domain_conf.c | 23 +++
1 file changed, 3 insertions(+), 20 deletions(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 68ab18f3ab..dda615a8ba 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@
Signed-off-by: Tim Wiederhake
---
src/conf/domain_conf.c | 6 --
src/conf/domain_conf.h | 2 +-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index c1438d85f4..68ab18f3ab 100644
--- a/src/conf/domain_conf.c
+++
Signed-off-by: Tim Wiederhake
---
src/conf/domain_conf.c | 11 ---
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index dd803e6df5..db8ec23d70 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -14730,12
Signed-off-by: Tim Wiederhake
---
src/conf/domain_conf.c | 2 +-
src/conf/domain_conf.h | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 04c10df0a9..c1438d85f4 100644
--- a/src/conf/domain_conf.c
+++
In the spirit of
https://listman.redhat.com/archives/libvir-list/2021-May/msg00550.html.
Tim Wiederhake (6):
conf: Add AUTOPTR_CLEANUP_FUNC for virDomainSEVDef
conf: virDomainSEVDef: Change type of "sectype" to
virDomainLaunchSecurity
virDomainSEVDefParseXML: Use virXMLPropEnum
Signed-off-by: Tim Wiederhake
---
src/conf/domain_conf.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index dda615a8ba..dd803e6df5 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -14719,7 +14719,7 @@
26 matches
Mail list logo