title: How to attach a block device to qemu VM through qemu command line?
body: <p>I want to configure the qemu to attach a specific block device to the VM? </p>
  
  <p>Following is the command I am using now:</p>
  
  <pre><code>qemu-system-x86_64 -enable-kvm -machine type=pc,accel=kvm 
                     -cpu host -nographic  -k de -usb -m 2048 
                     -net nic -net user,hostfwd=tcp::3388-:22
                      ubuntu16.04.qcow2
  </code></pre>
  
  <p>I know that following is the virsh command to do this:</p>
  
  <pre><code>virsh attach-disk ubuntuVM /dev/vdb
  </code></pre>
  
  <p>But I want to specify this in the above command line (Don't want to use virsh). Does anyone know how to do this? </p>
  
  <p>Kind Regards</p>