qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] target_posix_types.h


From: Paul Brook
Subject: Re: [Qemu-devel] [PATCH] target_posix_types.h
Date: Wed, 14 Nov 2007 21:37:46 +0000
User-agent: KMail/1.9.7

> time_t is only one example.  There are similar problems with the
> handling of struct target_iovec.  There are still other places with
> similar problems.
>
> Yes, special casing can work.  There's the possible problem of value
> truncation when moving between 32 and 64 bits.

My point is that I expect there the be sufficiently many special cases that 
you can't simply rely on get_user() doing the right thing, even if you 
have "proper" types everywhere.

It's also unclear whether sign extensions should depend on host or guest 
properties.

Paul




reply via email to

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