Re: QEMU built-in RAM block device
Thank you very much. If RAM block device driver doesn't exist yet, there is probably no point to implement it this way, since most OSes have ability to mount RAM disks. I just thought that it existed and I could miss it. The issue #1797 is also mine, I'll reply there. Thank you kindly! With best regards, Valentine. On 03.08.2023 Hanna wrote:> No, we currently have no such block device. It’s effectively been asked > for in https://gitlab.com/qemu-project/qemu/-/issues/1797, too, but so > far I don’t know of any plans to implement it.>> Hanna
Re: QEMU built-in RAM block device
On 27.07.23 20:02, Валентин wrote: Hello and thank you for QEMU! Could someone point me to right direction, is there a RAM block device in QEMU? I'd like to create temporary RAM drive – without formatting or anything, just simply mount piece of memory as HDD, similarly to raw img files. So that guest would see it as normal physical disk. No, we currently have no such block device. It’s effectively been asked for in https://gitlab.com/qemu-project/qemu/-/issues/1797, too, but so far I don’t know of any plans to implement it. Hanna
QEMU built-in RAM block device
Hello and thank you for QEMU! Could someone point me to right direction, is there a RAM block device in QEMU? I'd like to create temporary RAM drive – without formatting or anything, just simply mount piece of memory as HDD, similarly to raw img files. So that guest would see it as normal physical disk. I tried: -object memory-backend-ram,size=32M,id=m0 -device ide-hd,drive=m0 But it obviously does not work. It could be useful for users without root privileges who are not able to mount system-wide RAM disk and put Qcow image there. Thanks in advance, Valentine.