about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2024-04-05 12:30:36 +0200
committerAlyssa Ross <hi@alyssa.is>2024-04-05 12:30:36 +0200
commit4491b9ec0dba199fb945f46d211fbf435b6ef134 (patch)
tree0a8813d9a78df834b0b3b5f3782049fffc3dc2ad /nixos
parent23ff7d9dc4f3d553939e7bfe0d2667198f993536 (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.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/lib/test-driver/test_driver/machine.py2
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}"