From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [RFC PATCH] virtio: change config to guest endian. Date: Wed, 23 Apr 2008 15:38:45 +0300 Message-ID: <480F2DD5.7080007@qumranet.com> References: <200804221357.34571.rusty@rustcorp.com.au> <200804231255.50248.borntraeger@de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel@lists.sourceforge.net, Hollis Blanchard , virtualization@lists.linux-foundation.org To: Christian Borntraeger Return-path: In-Reply-To: <200804231255.50248.borntraeger@de.ibm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org Christian Borntraeger wrote: > Am Dienstag, 22. April 2008 schrieb Rusty Russell: > [...] > >> diff -r a098f19a6da5 include/linux/virtio_config.h >> --- a/include/linux/virtio_config.h Sun Apr 20 14:41:02 2008 +1000 >> +++ b/include/linux/virtio_config.h Sun Apr 20 15:07:45 2008 +1000 >> @@ -16,7 +16,7 @@ >> #define VIRTIO_CONFIG_S_FAILED 0x80 >> >> #ifdef __KERNEL__ >> -struct virtio_device; >> +#include >> > > I just realized, that this breaks make headers_check as we dont export > virtio.h (and we dont want to export it as it relies on scatterlist.h). > > It's guarded by a #ifdef __KERNEL__, so it should be alright. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone