Re: [Qemu-devel] [PATCH V1 0/2] Versioning ARM virt machine types

2016-06-07 Thread Wei Huang


On 06/07/2016 11:51 PM, Andrew Jones wrote:
> On Tue, Jun 07, 2016 at 04:17:09PM +0100, Peter Maydell wrote:
>> On 11 March 2016 at 17:36, Wei Huang  wrote:
>>> We start to see more features been added to ARM virtual machine models.
>>> For the purpose of backward compatibility (e.g. migration), it is time
>>> to consider versioning machine types for ARM VMs. As a beginning step, this
>>> patchset defines an abstract machine type for ARM VMs. The current
>>> "virt" machine is re-written based on this new abstract type accordingly.
>>> These patches have been verified by booting existing VMs.
>>>
>>> RFC->V1:
>>>  * Rename the machine type to "virt-2.6", matching the imminent QEMU version
>>>  * Remove mc->is_default (Peter's comment)
>>
>> So is there a plan to provide a virt-2.7 for the next release?
> 
> Yup. I was planning to send it as part of a small "hw/arm/virt: add
> cpu-map" series I pretty much have ready, but didn't finish and send
> yet because I got distracted working on the larger plan (among other
> things). The motivation (larger plan) for cpu-map is full cpu-topology
> configuration, but working on that has led to an smp parameter rework
> RFC (hoping to send this week...) Wei or I can just send the virt-2.7
> patch now though to get it done sooner than later.

It makes sense to go with Drew's patches, so he doesn't need to re-base
his existing current implementation.

> 
> Thanks,
> drew
> 



Re: [Qemu-devel] [PATCH V1 0/2] Versioning ARM virt machine types

2016-06-07 Thread Andrew Jones
On Tue, Jun 07, 2016 at 04:17:09PM +0100, Peter Maydell wrote:
> On 11 March 2016 at 17:36, Wei Huang  wrote:
> > We start to see more features been added to ARM virtual machine models.
> > For the purpose of backward compatibility (e.g. migration), it is time
> > to consider versioning machine types for ARM VMs. As a beginning step, this
> > patchset defines an abstract machine type for ARM VMs. The current
> > "virt" machine is re-written based on this new abstract type accordingly.
> > These patches have been verified by booting existing VMs.
> >
> > RFC->V1:
> >  * Rename the machine type to "virt-2.6", matching the imminent QEMU version
> >  * Remove mc->is_default (Peter's comment)
> 
> So is there a plan to provide a virt-2.7 for the next release?

Yup. I was planning to send it as part of a small "hw/arm/virt: add
cpu-map" series I pretty much have ready, but didn't finish and send
yet because I got distracted working on the larger plan (among other
things). The motivation (larger plan) for cpu-map is full cpu-topology
configuration, but working on that has led to an smp parameter rework
RFC (hoping to send this week...) Wei or I can just send the virt-2.7
patch now though to get it done sooner than later.

Thanks,
drew



Re: [Qemu-devel] [PATCH V1 0/2] Versioning ARM virt machine types

2016-06-07 Thread Peter Maydell
On 11 March 2016 at 17:36, Wei Huang  wrote:
> We start to see more features been added to ARM virtual machine models.
> For the purpose of backward compatibility (e.g. migration), it is time
> to consider versioning machine types for ARM VMs. As a beginning step, this
> patchset defines an abstract machine type for ARM VMs. The current
> "virt" machine is re-written based on this new abstract type accordingly.
> These patches have been verified by booting existing VMs.
>
> RFC->V1:
>  * Rename the machine type to "virt-2.6", matching the imminent QEMU version
>  * Remove mc->is_default (Peter's comment)

So is there a plan to provide a virt-2.7 for the next release?

thanks
-- PMM



Re: [Qemu-devel] [PATCH V1 0/2] Versioning ARM virt machine types

2016-03-16 Thread Peter Maydell
On 11 March 2016 at 17:36, Wei Huang  wrote:
> We start to see more features been added to ARM virtual machine models.
> For the purpose of backward compatibility (e.g. migration), it is time
> to consider versioning machine types for ARM VMs. As a beginning step, this
> patchset defines an abstract machine type for ARM VMs. The current
> "virt" machine is re-written based on this new abstract type accordingly.
> These patches have been verified by booting existing VMs.
>
> RFC->V1:
>  * Rename the machine type to "virt-2.6", matching the imminent QEMU version
>  * Remove mc->is_default (Peter's comment)



Applied to target-arm.next, thanks.

-- PMM



[Qemu-devel] [PATCH V1 0/2] Versioning ARM virt machine types

2016-03-11 Thread Wei Huang
We start to see more features been added to ARM virtual machine models.
For the purpose of backward compatibility (e.g. migration), it is time
to consider versioning machine types for ARM VMs. As a beginning step, this
patchset defines an abstract machine type for ARM VMs. The current
"virt" machine is re-written based on this new abstract type accordingly.
These patches have been verified by booting existing VMs.

RFC->V1:
 * Rename the machine type to "virt-2.6", matching the imminent QEMU version
 * Remove mc->is_default (Peter's comment)

Thanks,
-Wei

Wei Huang (2):
  arm: virt: Add an abstract ARM virt machine type
  arm: virt: Move machine class init code to the abstract machine type

 hw/arm/virt.c | 57 ++---
 1 file changed, 38 insertions(+), 19 deletions(-)

-- 
1.8.3.1