Re: [PATCH v3 09/21] linux-user: Do not use guest_addr_valid for h2g_valid

2021-01-19 Thread Peter Maydell
On Fri, 15 Jan 2021 at 22:47, Richard Henderson wrote: > > This is the only use of guest_addr_valid that does not begin > with a guest address, but a host address being transformed to > a guest address. > > We will shortly adjust guest_addr_valid to handle guest memory > tags, and the host address

[PATCH v3 09/21] linux-user: Do not use guest_addr_valid for h2g_valid

2021-01-15 Thread Richard Henderson
This is the only use of guest_addr_valid that does not begin with a guest address, but a host address being transformed to a guest address. We will shortly adjust guest_addr_valid to handle guest memory tags, and the host address should not be subjected to that. Move h2g_valid adjacent to the oth