All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Williamson <alex.l.williamson@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Bug 1862110] Re: qemu in script is not parsing properly
Date: Tue, 11 Feb 2020 18:22:09 -0000	[thread overview]
Message-ID: <158144533016.15569.13654641520342120039.launchpad@soybean.canonical.com> (raw)
In-Reply-To: 158096626936.9041.17441916407484515612.malonedeb@chaenomeles.canonical.com

** Changed in: qemu
       Status: New => Invalid

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1862110

Title:
  qemu in script is not parsing properly

Status in QEMU:
  Invalid

Bug description:
  Bug Report:
  >>qemu-system-x86_64 --version: QEMU emulator version 4.2.0
  >>Arch-linux version 2020.02.01
  I was following a tutorial on how to make a windows vm and i have encountered and issue in the settings of my script I have listed below.

  The commented code directly above the uncommented qemu instance would
  boot the Windows screen but the issue arises when I try to reach the
  same code block under the commented setting lines which takes me to
  the default SeaBIOS loader.

  #!/bin/bash

  vmname="windows10vm"

  if ps -ef | grep qemu-system-x86_64 | grep -q multifunction=on; then
  echo "A passthrough VM is already running." &
  exit 1

  else

  # use pulseaudio

  export QEMU_AUDIO_DRV=pa
  export QEMU_PA_SAMPLES=8192
  export QEMU_AUDIO_TIMER_PERIOD=99
  export QEMU_PA_SERVER=/run/user/1000/pulse/native

  cp /usr/share/ovmf/x64/OVMF_VARS.fd /tmp/my_vars.fd

  #qemu-system-x86_64 \
  #-drive id=disk0,if=virtio,cache=none,format=raw,file=.../IMGs/win.img \
  #-drive file=.../ISOs/Win10_1909_English_x64.iso,index=1,media=cdrom \

  qemu-system-x86_64 \

  #-name $vmname,process=$vmname \
  #-machine type=q35,accel=kvm \
  #-cpu host,kvm=off \
  #-smp 4,sockets=1,cores=3,threads=1 \
  #-m 8G \
  #-balloon none \
  #-rtc clock=host,base=localtime \
  #-vga none \
  #-nographic \
  #-serial none \
  #-parallel none \
  #-soundhw hda \
  #-usb \
  #-device usb-host,vendorid=...,productid=... \
  #-device usb-host,vendorid=...,productid=... \
  #-device vfio-pci,host=...,multifunction=on \
  #-device vfio-pci,host=... \
  #-drive if=pflash,format=raw,readonly,file=/usr/share/ovmf/x64/OVMF_VARS.fd \
  #-drive if=pflash,format=raw,file=/tmp/my_vars.fd \
  #-boot order= dc \

  -drive id=disk0,if=virtio,cache=none,format=raw,file=.../IMGs/win.img \
  -drive file=.../ISOs/Win10_1909_English_x64.iso,index=1,media=cdrom \
  -drive file=.../ISOs/virtio-0.1.171.iso,index=2,media=cdrom \

  #-netdev type=tap,id=net0,ifname=vmtap0,vhost=on \
  #-device virtio-net-pci,netdev=net0,mac=... \

  exit 0

  fi

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1862110/+subscriptions


      parent reply	other threads:[~2020-02-11 18:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-06  5:17 [Bug 1862110] [NEW] qemu in script is not parsing properly Chris Hoy
2020-02-06  5:20 ` [Bug 1862110] " Chris Hoy
2020-02-06 18:20 ` Chris Hoy
2020-02-06 18:48 ` Alex Williamson
2020-02-11 18:22 ` Alex Williamson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=158144533016.15569.13654641520342120039.launchpad@soybean.canonical.com \
    --to=alex.l.williamson@gmail.com \
    --cc=1862110@bugs.launchpad.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.