Re: [PATCH] hw/sd/sdcard: Register device ops in drives without media

Alberto Garcia <[email protected]>
Newsgroups gmane.comp.emulators.qemu.stable,gmane.comp.emulators.qemu,gmane.comp.emulators.qemu.block
Message-ID <[email protected]>
ping

On Thu, Jul 23, 2026 at 10:58:39PM +0200, Alberto Garcia wrote:
> This patch moves the blk_set_perm() and blk_set_dev_ops() calls
> outside of the 'if (blk_size >= 0)' block so the device ops and
> permissions are registered when a drive is attached.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.