vagrant-libvirt: Not sure if this is a vagrant-libvirt issue but SD card is not correctly read. blk_update_request: I/O error.

Steps to reproduce

  1. vagrant init safenetwork-community/manjaro-arm-installer
  2. vagrant up
  3. Open virt-manager console
  4. Add SD card reader
  5. Go back to virt-manager console

Expected behaviour

SD card is recognized without issue.

Actual behaviour

image

System configuration

OS/Distro version::

5.4.143-1-MANJARO x86_64

Libvirt version:

1:7.6.0-1

Output of vagrant version; vagrant plugin list:

2.2.18

Attach Output of VAGRANT_LOG=debug vagrant ... --provider=libvirt >vagrant.log 2>&1

https://gist.github.com/Folaht/c86f2cb1a346d3d1950d3565fb5d2f15

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 18 (11 by maintainers)

Commits related to this issue

Most upvoted comments

After “vagrant-up” the vagrant-libvirt plugin is not responsible for any changes done to the virtual machine via virt-manager. You will also lose them after destroying the virtual machine. You have to check why libvirt doesnt pass through the device. If it is an sd card reader it might aswell be a issue of the box you are spinning up.

If it is an usb based sd card reader maybe this helps:

https://github.com/vagrant-libvirt/vagrant-libvirt#usb-device-passthrough

otherwise pass the sd card through via disk passthrough:

https://github.com/vagrant-libvirt/vagrant-libvirt#additional-disks