knazarov / homebrew-qemu-virgl

A homebrew tap for qemu with support for 3d accelerated guests
415 stars 68 forks source link

Cannot mount ext4 SSD #37

Open ywiyogo opened 3 years ago

ywiyogo commented 3 years ago

Hi @knazarov , thanks for the great work! I've worked with the Ubuntu on my M1. However, I can't mount my ext4 SSD neither on macOS nor on the Ubuntu VM. In this discussion, he can mount ext4 through a VM (VirtualBox). How can I do that? It should be done with the -drive option.

Thanks!

knazarov commented 3 years ago

Hi @ywiyogo ! Is your SSD attached via USB or is it an on-board PCI device?

ywiyogo commented 3 years ago

@knazarov my NVMe M.2 SSD is connected via the USB-C. I use this case: https://www.orico.shop/en/nvme-m2-ssd-m2-ssd-housing-10gbps-blue.html. I can see this log message after connecting my ext4 M2 SSD:

qemu-system-aarch64: Warning: speed mismatch trying to attach usb device "USB to PCIE Bridge" (super speed) to bus "usb-bus.0", port "3" (high speed)

knazarov commented 3 years ago

Could you please paste the full qemu command line here? My first thought would be that you should use an xhci usb controller, like this: -device qemu-xhci. If you use ehci this is probably a source of your problem.

After seeing the full command line I can probably tell more.