Determining if USB is available
Would you know of a function that could indicate if USB is available on the current emulator?
Quoted 1 line · Programmingkid
Would you know of a function that could indicate if USB is available on the current emulator?
vl.c:usb_enabled()?
Quoted 4 lines · Stefan Hajnoczi
Quoted 1 line · Programmingkid
Would you know of a function that could indicate if USB is available on the current emulator?
vl.c:usb_enabled()?
Haven't checked, but a quick look at the code suggests that may not give the correct answer if the USB is provided by an emulated PCI USB card?
thanks
-- PMM
Quoted 9 lines · Peter Maydell
Quoted 4 lines · Stefan Hajnoczi
Quoted 1 line · Programmingkid
Would you know of a function that could indicate if USB is available on the current emulator?
vl.c:usb_enabled()?
Haven't checked, but a quick look at the code suggests that may not give the correct answer if the USB is provided by an emulated PCI USB card?
It is ok. I have solved this problem by I think checking for a USB bus.
Quoted 4 lines · Stefan Hajnoczi
Quoted 1 line · Programmingkid
Would you know of a function that could indicate if USB is available on the current emulator?
vl.c:usb_enabled()?
Thank you.