<div dir="ltr"><div><div><div>Hi again,<br><br></div>Yep, I just copied and pasted it. Thanks for updating my script, I've added the changes.<br><br></div>Thanks again,<br></div>sarnex<br><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 3, 2016 at 5:33 AM, Bob Dawes <span dir="ltr"><<a href="mailto:xochipilli4@yahoo.com" target="_blank">xochipilli4@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>My apologies as you appear to have
      inherited all my unnecessary configuration options on the block
      device. As I'm messing around with qemu and I don't really
      understand that driver yet I tend to explicitly set every option
      so next time I use the VM with a new testing version of qemu my VM
      doesn't do unpredictable things because some feature I'm not
      messing with got switched on or off.<br>
      <br>
      You may prefer to always have the author's best settings which in
      the general case is usually advisable and is achieved by leaving
      parameters implicit. For your config this would be:<br>
      <br>
      -drive
      if=none,format=raw,cache=none,cache.direct=on,file=/media/500GB/win10.img,aio=native,id=ssd2

      \<br>
      -object iothread,id=iothread2 \<br>
      -device virtio-blk-pci,drive=ssd2,iothread=iothread2<br>
      <br>
      Naturally, you will find most authors tend to be cautious about
      switching on experimental or risky features, so to test those you
      usually have to explicitly set parameters. You can type 'info
      qtree' in the qemu console and check the configs parameters if you
      are interested in the fine details, but I wouldn't explicitly set
      the parameters unless you know you need something.<div><div class="h5"><br>
      <br>
      On 03/04/16 03:26, Nick Sarnie wrote:<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">
      
      <div dir="ltr">
        <div>
          <div>
            <div>Hi,<br>
              <br>
            </div>
            Thanks for your detailed post. I believe I have already
            changed my script to make sense, thanks to the previous
            reply. I've attached it again below. For networking, I am
            using a wireless card where I cannot create a bridge, and my
            IP changes very often. Is there a simple way to manually
            create a tap with this? I wasn't able to get either of the 2
            most popular tutorials working. <br>
            <br>
          </div>
          Thanks,<br>
        </div>
        sarnex<br>
        <br>
        #!/bin/sh<br>
        export QEMU_AUDIO_DRV=pa<br>
        qemu-system-x86_64 -enable-kvm \<br>
        -m 5120 \<br>
        -cpu host \<br>
        -smp 6,sockets=1,cores=6,threads=1 \<br>
        -device vfio-pci,host=01:00.0,x-vga=on,multifunction=on \<br>
        -device vfio-pci,host=01:00.1 \<br>
        -vga none \<br>
        -device vfio-pci,host=00:12.0 \<br>
        -device vfio-pci,host=00:12.2 \<br>
        -device vfio-pci,host=00:16.0 \<br>
        -device vfio-pci,host=00:16.2 \<br>
        -soundhw ac97 \<br>
        -rtc base=localtime \<br>
        -netdev user,id=net0 \<br>
        -device virtio-net-pci,netdev=net0 \<br>
        -drive
        if=none,format=raw,cache=none,cache.direct=on,file=/media/500GB/win10.img,aio=native,id=ssd2,discard=off,detect-zeroes=off
        \<br>
        -object iothread,id=iothread2 \<br>
        -device
virtio-blk-pci,drive=ssd2,request-merging=on,iothread=iothread2,modern-pio-notify=on,config-wce=off<br>
        <br>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div></div></div></div></div></div>