qemu-s390x
[Top][All Lists]
Advanced

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

Re: [PATCH v7 02/15] s390x: protvirt: Support unpack facility


From: Christian Borntraeger
Subject: Re: [PATCH v7 02/15] s390x: protvirt: Support unpack facility
Date: Tue, 10 Mar 2020 10:27:20 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1


On 09.03.20 15:40, Christian Borntraeger wrote:
> something like the following?
> 
> 
> diff --git a/target/s390x/cpu.c b/target/s390x/cpu.c
> index c513f8efe0..cd12c29b9a 100644
> --- a/target/s390x/cpu.c
> +++ b/target/s390x/cpu.c
> @@ -185,13 +185,18 @@ static void s390_cpu_disas_set_info(CPUState *cpu, 
> disassemble_info *info)
>  static bool machine_is_pv(MachineState *ms)
>  {
>      Object *obj;
> +    static S390CcwMachineState *ccw;
> +
> +    if (ccw)
> +           return ccw->pv;

And I think we need curly braces: {}
Sorry. Was doing too many kernel things :-)




reply via email to

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