On 03.11.20 16:30, Masami Hiramatsu wrote:
Hi Oleksandr,
Hi Masami
Thanks for sharing the virtio-disk server, I also tested with a real usb disk. In config file: virtio = 1 vdisk = [ 'backend=Domain-0, disks=ro:/dev/sda1' ] And it can be mounted in DomU [ 2.892874] virtio_blk virtio0: [vda] 1875382927 512-byte logical blocks (960 GB/894 GiB) [ 2.892925] vda: detected capacity change from 0 to 960196058624 ... root@develbox:~# cat /proc/partitions major minor #blocks name 254 0 937691463 vda ... root@develbox:~# mount /dev/vda /mnt/ [ 192.260968] EXT4-fs (vda): mounted filesystem with ordered data mode. Opts: (null) mount: /mnt: WARNING: source write-protected, mounted read-only. So "ro" flag also correctly works. Great! Thank you!
Sounds great. Thank you for testing! -- Regards, Oleksandr Tyshchenko