qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Virtual pendrive: image


From: Narcis Garcia
Subject: Virtual pendrive: image
Date: Sat, 25 Apr 2020 08:47:31 +0200

I need to emulate an USB stick with only image file backend.
I've tried this:
$ qemu-system-x86_64 (...) -device virtio-scsi -drive
file=pendrive.img,media=disk,discard=unmap,detect-zeroes=unmap,index=1

But all Windows applications in VM detect it as a hard disk. I need to
use some of them dedicated to format USB pendrives.

How can I do it with qemu command line parameters?

Thank you.

-- 

Narcis Garcia



reply via email to

[Prev in Thread] Current Thread [Next in Thread]