qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/3] kvm: ppc: booke206: use MMU API


From: Alexander Graf
Subject: Re: [Qemu-devel] [PATCH 1/3] kvm: ppc: booke206: use MMU API
Date: Sat, 18 Jun 2011 18:44:36 +0200

On 18.06.2011, at 18:13, Richard Henderson wrote:

> On 06/17/2011 04:28 PM, Alexander Graf wrote:
>>>> +    struct kvm_book3e_206_tlb_params params = {};
>> Hrm - I'm not familiar with that initialization. What exactly does it
>> do? Set the struct contents to 0? Is this properly standardized?
> 
> Yes and yes.

Ah, very nice. I wonder why I don't see it used more in code then :). Seems to 
be very handy to not clutter code with memset(0)s.


Alex




reply via email to

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