Mailinglist Archive: opensuse-bugs (7967 mails)

< Previous Next >
[Bug 241950] fix for qemu without usbdevfs
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 6 Feb 2007 17:36:04 -0700 (MST)
  • Message-id: <20070207003604.842B025C887@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=241950





------- Comment #7 from rschiele@xxxxxxxxx 2007-02-06 17:36 MST -------
There is no particular bad thing with this header but there are several reasons
I moved the releant parts to the qemu implementation:

- It seems Greg is actively pushing all this usbdevfs stuff out of the kernel.
Thus nobody actually nows how long this header will live there in its current
state.

- The qemu implementation already defined one struct on its own to be
"independent from kernel changes" --- whether this makes sense is one question
but doing this in a consistent way for all structs seems reasonable to me.

- Building qemu is a horrible adventure (they even need an older gcc version
because their code makes assumptions about the code layout that is no longer
true with recent compilers unless you configure them to death). Working on this
code outside the qemu build infrastructure does not make live easier if you
also have to care about special macros used in kernel headers.

Now, after work is completed it might make sense to change this back
(especially because I have seen an additional problem resulting from not using
the header file). But for a long term solution the whole file should be
reimplemented to use libusb anyway since the current implementation is really
ugly.


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

< Previous Next >
References