[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 10/10] tests/avocado/boot_xen.py: use class attribute
From: |
Cleber Rosa |
Subject: |
[PATCH 10/10] tests/avocado/boot_xen.py: use class attribute |
Date: |
Fri, 8 Dec 2023 14:09:11 -0500 |
Rather than defining a single use variable, let's just use the class
attribute directly.
Signed-off-by: Cleber Rosa <crosa@redhat.com>
---
tests/avocado/boot_xen.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/avocado/boot_xen.py b/tests/avocado/boot_xen.py
index f4b63c1ef2..f29bc58b9e 100644
--- a/tests/avocado/boot_xen.py
+++ b/tests/avocado/boot_xen.py
@@ -50,11 +50,10 @@ def launch_xen(self, xen_path):
self.vm.set_console()
- xen_command_line = self.XEN_COMMON_COMMAND_LINE
self.vm.add_args('-machine', 'virtualization=on',
'-m', '768',
'-kernel', xen_path,
- '-append', xen_command_line,
+ '-append', self.XEN_COMMON_COMMAND_LINE,
'-device',
'guest-loader,addr=0x47000000,kernel=%s,bootargs=console=hvc0'
% (kernel_path))
--
2.43.0
- Re: [PATCH 03/10] tests/avocado/intel_iommu.py: increase timeout, (continued)
- Re: [PATCH 03/10] tests/avocado/intel_iommu.py: increase timeout, Alex Bennée, 2023/12/12
- Re: [PATCH 03/10] tests/avocado/intel_iommu.py: increase timeout, Cleber Rosa, 2023/12/13
- Re: [PATCH 03/10] tests/avocado/intel_iommu.py: increase timeout, Eric Auger, 2023/12/14
- Re: [PATCH 03/10] tests/avocado/intel_iommu.py: increase timeout, Alex Bennée, 2023/12/14
- Re: [PATCH 03/10] tests/avocado/intel_iommu.py: increase timeout, Eric Auger, 2023/12/14
- Re: [PATCH 03/10] tests/avocado/intel_iommu.py: increase timeout, Philippe Mathieu-Daudé, 2023/12/14
[PATCH 05/10] tests/avocado: use more distinct names for assets, Cleber Rosa, 2023/12/08
[PATCH 06/10] tests/avocado/kvm_xen_guest.py: cope with asset RW requirements, Cleber Rosa, 2023/12/08
[PATCH 10/10] tests/avocado/boot_xen.py: use class attribute,
Cleber Rosa <=
[PATCH 01/10] tests/avocado: mips: fallback to HTTP given certificate expiration, Cleber Rosa, 2023/12/08
[PATCH 02/10] tests/avocado: mips: add hint for fetchasset plugin, Cleber Rosa, 2023/12/08
[PATCH 09/10] tests/avocado/boot_xen.py: unify tags, Cleber Rosa, 2023/12/08