qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Initial support for Ilumos build and Illumos-kv


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] Initial support for Ilumos build and Illumos-kvm
Date: Fri, 16 Mar 2012 19:15:04 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1

Il 16/03/2012 18:25, Lee Essen ha scritto:
> Correct … but actually this raises another question … why create a separate 
> pointer to kvm_state…
> 
>     KVMState *s = kvm_state;
> 
> … why not just use kvm_state throughout the function?
> 
> This seems to be a common approach in many of the functions in kvm-all.c … is 
> there a reason?

It's historical due to the way things were done in the qemu-kvm fork.
It was done this way in order to let qemu.git and qemu-kvm.git share a
bit more code, IIUC.

Paolo



reply via email to

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