u...@e-yuuki.org (Yuuki Enomoto) writes: ># gpt create -p 128 ld0 >gpt: /dev/rld0: Media size can't be 0
The media size is read as: ld->sc_secperunit = virtio_read_device_config_8(vsc, VIRTIO_BLK_CONFIG_CAPACITY) / (ld->sc_secsize / VIRTIO_BLK_BSIZE); So the host appears to send a size of zero.