Open BaderSZ opened 1 year ago
Ever since hermit-rs' changes w/ pci_types
, BAR size and type is not registered correctly.
As an initial step, this has to be corrected: https://github.com/BaderSZ/uhyve/blob/45f5778ed92aab55f243d5f6a3c261dde9559dae/src/linux/virtio.rs#L593-L597
as well as https://github.com/BaderSZ/uhyve/blob/45f5778ed92aab55f243d5f6a3c261dde9559dae/src/linux/vcpu.rs#L321-L323 and https://github.com/BaderSZ/uhyve/blob/45f5778ed92aab55f243d5f6a3c261dde9559dae/src/linux/vcpu.rs#L361-L364
So far, the implementation 'works'. I should go through the v1.2 VirtIO spec and confirm that everything is correct.