Skip to content

Commit

Permalink
Fix error error happened on the associated connection seen in ntttcp
Browse files Browse the repository at this point in the history
  • Loading branch information
LiliDeng committed Feb 13, 2025
1 parent 60ad70d commit 03097f3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lisa/tools/qemu.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,19 @@ def create_vm(

if cd_rom:
cmd += f" -cdrom {cd_rom} "
self.node.execute(
f"qemu-img resize {guest_image_path} +1G", sudo=True, shell=True
)

# kill any existing qemu process if stop_existing_vm is True
if stop_existing_vm:
self.delete_vm()

cmd = self._configure_qemu_command_for_cpu(cmd)

# allow qemu to use 2 GB memory
cmd += "-m 2G "

# -enable-kvm: enable kvm
# -display: enable or disable display
# -daemonize: run in background
Expand Down

0 comments on commit 03097f3

Please sign in to comment.