https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239341

Tiwei Bie <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #5 from Tiwei Bie <[email protected]> ---
According to
https://github.com/freebsd/freebsd/blob/1872e290af2d/sys/dev/sound/pci/hda/hdac_private.h#L146-L151
, it seems the definition of `struct hda_bdle` is wrong. Something like this is
needed:

diff --git c/usr.sbin/bhyve/pci_hda.c i/usr.sbin/bhyve/pci_hda.c
index ace88274ac9..e0324f46a95 100644
--- c/usr.sbin/bhyve/pci_hda.c
+++ i/usr.sbin/bhyve/pci_hda.c
@@ -80,10 +80,10 @@ typedef void (*hda_set_reg_handler)(struct hda_softc *sc,
uint32_t offset,
                uint32_t old);

 struct hda_bdle {
-       uint32_t addrh;
        uint32_t addrl;
+       uint32_t addrh;
+       uint32_t len;
        uint32_t ioc;
-       uint32_t len;
 } __packed;

 struct hda_bdle_desc {

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"[email protected]"

Reply via email to