diff options
author | Alyssa Ross <hi@alyssa.is> | 2024-04-05 12:30:36 +0200 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2024-04-05 12:30:36 +0200 |
commit | 4491b9ec0dba199fb945f46d211fbf435b6ef134 (patch) | |
tree | 0a8813d9a78df834b0b3b5f3782049fffc3dc2ad | |
parent | 23ff7d9dc4f3d553939e7bfe0d2667198f993536 (diff) |
nixos/test-driver: don't add QEMU_OPTS twice
As the TODO says, this is already included by the script. If adding a device, including this again here would result in either two devices being added, or, if they were explicitly named, an error due to reuse of the name.
-rw-r--r-- | nixos/lib/test-driver/test_driver/machine.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/nixos/lib/test-driver/test_driver/machine.py b/nixos/lib/test-driver/test_driver/machine.py index c117aab7c4011..652cc600fad59 100644 --- a/nixos/lib/test-driver/test_driver/machine.py +++ b/nixos/lib/test-driver/test_driver/machine.py @@ -165,8 +165,6 @@ class StartCommand: ) if not allow_reboot: qemu_opts += " -no-reboot" - # TODO: qemu script already catpures this env variable, legacy? - qemu_opts += " " + os.environ.get("QEMU_OPTS", "") return ( f"{self._cmd}" |