[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Determining if USB is available
From: |
Programmingkid |
Subject: |
Re: [Qemu-devel] Determining if USB is available |
Date: |
Fri, 16 Oct 2015 09:55:56 -0400 |
On Oct 16, 2015, at 8:48 AM, Peter Maydell wrote:
> On 16 October 2015 at 13:07, Stefan Hajnoczi <address@hidden> wrote:
>> On Thu, Sep 17, 2015 at 09:45:44PM -0400, Programmingkid wrote:
>>> 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.