qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] SLIRP warning messages displayed while compiling


From: Samuel Thibault
Subject: Re: [Qemu-devel] SLIRP warning messages displayed while compiling
Date: Sat, 12 Aug 2017 13:47:28 +0200
User-agent: NeoMutt/20170113 (1.7.2)

Eric Blake, on sam. 12 août 2017 06:41:30 -0500, wrote:
> Here's an idea:  Instead of using struct ip6 { ... } QEMU_PACKED, use
> 
> struct ip6 {
> ...
> };
> QEMU_BUG_ON(sizeof(struct ip6) != 32);

That's an interesting way indeed.  I however wonder whether there may be
not-so-uncommon systems where the compiler aligns some fields just for
performance or such.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]