diff options
author | Cleber Rosa <crosa@redhat.com> | 2023-12-08 14:09:11 -0500 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2024-07-22 07:41:46 +0200 |
commit | 1b88da0af11f15bf8ebb7d933b458533f72899a5 (patch) | |
tree | 06c43481be39ca756fbd1c6c3509a23eb77829a0 | |
parent | 9e6e7d814c941d167621797f6c50aca3628913e2 (diff) | |
download | qemu-1b88da0af11f15bf8ebb7d933b458533f72899a5.zip qemu-1b88da0af11f15bf8ebb7d933b458533f72899a5.tar.gz qemu-1b88da0af11f15bf8ebb7d933b458533f72899a5.tar.bz2 |
tests/avocado/boot_xen.py: use class attribute
Rather than defining a single use variable, let's just use the class
attribute directly.
Signed-off-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231208190911.102879-11-crosa@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
-rw-r--r-- | tests/avocado/boot_xen.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/avocado/boot_xen.py b/tests/avocado/boot_xen.py index f4b63c1..f29bc58 100644 --- a/tests/avocado/boot_xen.py +++ b/tests/avocado/boot_xen.py @@ -50,11 +50,10 @@ class BootXen(LinuxKernelTest): 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)) |