qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 00/11] exec: Restrict various system emulation specific heade


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 00/11] exec: Restrict various system emulation specific headers (to sysemu)
Date: Tue, 25 May 2021 16:13:29 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1

Ping for review? :)

On 5/17/21 1:11 PM, Philippe Mathieu-Daudé wrote:
> Hi,
> 
> This series restricts various system emulation specific headers
> by moving them under sysemu/ and adding #error if included from
> user emulation.
> We could avoid the sysemu/ rename if too much churn, but enforcing
> error of headers that must not be included in user emulation allows
> further cleanups (to be sent later).
> 
> I had to split the ioport.c file to cpu-io (generic to any target
> having access to I/O bus, but I haven't checked the TCG implementation
> details for user emulation) VS ioport (system specific, access to
> hardware).
> 
> Many files are changed, but this is mostly one-line mechanical
> updates of old path to new path using sed.
> 
> Regards,
> 
> Phil.
> 
> Philippe Mathieu-Daudé (11):
>   NOTFORMERGE target/arm: Restrict KVM files to softmmu
>   exec: Restrict hwaddr.h to sysemu/
>   exec: Restrict cputlb.h to sysemu/
>   exec: Restrict memory.h to sysemu/
>   exec: Restrict memory-internal.h to sysemu/
>   exec: Restrict address-spaces.h to sysemu/
>   exec: Extract CPU I/O instructions to "cpu-io.h"
>   exec: Restrict ioport.h to sysemu/
>   exec: Restrict ram_addr.h to sysemu/
>   exec: Restrict ramblock.h to sysemu/
>   exec: Restrict confidential-guest-support.h to sysemu/

>  275 files changed, 491 insertions(+), 409 deletions(-)
>  create mode 100644 include/exec/cpu-io.h
>  rename include/exec/{ => sysemu}/address-spaces.h (80%)
>  rename include/exec/{ => sysemu}/cputlb.h (86%)
>  rename include/exec/{ => sysemu}/hwaddr.h (81%)
>  rename include/exec/{ => sysemu}/memory-internal.h (94%)
>  rename include/exec/{ => sysemu}/memory.h (99%)
>  rename include/{exec => sysemu}/confidential-guest-support.h (95%)
>  rename include/{exec => sysemu}/ioport.h (86%)
>  rename include/{exec => sysemu}/ram_addr.h (99%)
>  rename include/{exec => sysemu}/ramblock.h (92%)
>  create mode 100644 softmmu/cpu-io.c
> 



reply via email to

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