Skip to content
This repository has been archived by the owner on Jun 10, 2023. It is now read-only.

Commit

Permalink
qemu -serial cmdline args
Browse files Browse the repository at this point in the history
  • Loading branch information
gderosa committed Dec 13, 2013
1 parent abd85f2 commit 0a7f6cc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/qemu/lib/onboard/virtualization/qemu/instance.rb
Expand Up @@ -215,6 +215,13 @@ def format_cmdline
cmdline << '-net' << ' ' << net_args.join(',') << ' '
end

# (Host) serial ports
if opts['-serial'].respond_to? :each
opts['-serial'].each do |device|
cmdline << '-serial' << ' ' << device << ' '
end
end

# Useful defaults: TODO? make them configurable?
#
# Boot order: CDROM, disk (Network would be 'n')
Expand Down

0 comments on commit 0a7f6cc

Please sign in to comment.