Skip to content

Instantly share code, notes, and snippets.

@John-K
Created December 21, 2015 20:08
Show Gist options
  • Save John-K/ab9c2e98936a22dcb71d to your computer and use it in GitHub Desktop.
Save John-K/ab9c2e98936a22dcb71d to your computer and use it in GitHub Desktop.
Add a drive to running KVM instance
drive_add 0:1:1 file=/dev/sdb,format=raw,if=none,id=newdisk
device_add virtio-blk-pci,drive=newdisk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment