[PATCH] conf: remove unnecessary restore in virDomainSEVDefParseXML

Boris Fiuczynski posted 1 patch 2 years, 9 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20210722090742.14783-1-fiuczy@linux.ibm.com
src/conf/domain_conf.c | 1 -
1 file changed, 1 deletion(-)
[PATCH] conf: remove unnecessary restore in virDomainSEVDefParseXML
Posted by Boris Fiuczynski 2 years, 9 months ago
Since commit d399a728f4 placed the restore in the right scope the
restore can get removed in virDomainSEVDefParseXML.

Signed-off-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
---
 src/conf/domain_conf.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 13b7741eb8..ac3f5ff4a3 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -14727,7 +14727,6 @@ static int
 virDomainSEVDefParseXML(virDomainSEVDef *def,
                         xmlXPathContextPtr ctxt)
 {
-    VIR_XPATH_NODE_AUTORESTORE(ctxt)
     unsigned long policy;
     int rc;
 
-- 
2.31.1

Re: [PATCH] conf: remove unnecessary restore in virDomainSEVDefParseXML
Posted by Pavel Hrdina 2 years, 9 months ago
On Thu, Jul 22, 2021 at 11:07:42AM +0200, Boris Fiuczynski wrote:
> Since commit d399a728f4 placed the restore in the right scope the
> restore can get removed in virDomainSEVDefParseXML.
> 
> Signed-off-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
> ---
>  src/conf/domain_conf.c | 1 -
>  1 file changed, 1 deletion(-)

Reviewed-by: Pavel Hrdina <phrdina@redhat.com>