Re: [PATCH for-5.1 V4 1/4] hw/mips: Implement the kvm_type() hook in MachineClass

2020-06-16 Thread Aleksandar Markovic
уторак, 16. јун 2020., Huacai Chen је написао/ла: > Hi, Thomas and Aleksandar, > > On Tue, Jun 16, 2020 at 3:45 AM Aleksandar Markovic > wrote: > > > > On Mon, Jun 15, 2020 at 10:55 AM Thomas Huth wrote: > > > > > > On 15/06/2020 02.52, Huacai Chen wrote: > > > > Hi, Aleksandar, > > > > > > >

Re: [PATCH for-5.1 V4 1/4] hw/mips: Implement the kvm_type() hook in MachineClass

2020-06-16 Thread Huacai Chen
Hi, Thomas and Aleksandar, On Tue, Jun 16, 2020 at 3:45 AM Aleksandar Markovic wrote: > > On Mon, Jun 15, 2020 at 10:55 AM Thomas Huth wrote: > > > > On 15/06/2020 02.52, Huacai Chen wrote: > > > Hi, Aleksandar, > > > > > > On Sun, Jun 14, 2020 at 4:07 PM Aleksandar Markovic > > > wrote: > >

Re: [PATCH for-5.1 V4 1/4] hw/mips: Implement the kvm_type() hook in MachineClass

2020-06-15 Thread Aleksandar Markovic
On Mon, Jun 15, 2020 at 10:55 AM Thomas Huth wrote: > > On 15/06/2020 02.52, Huacai Chen wrote: > > Hi, Aleksandar, > > > > On Sun, Jun 14, 2020 at 4:07 PM Aleksandar Markovic > > wrote: > >> > >> > >> > >> уто, 2. јун 2020. у 04:38 Huacai Chen је > >> написао/ла: > >>> > >>> MIPS has two

Re: [PATCH for-5.1 V4 1/4] hw/mips: Implement the kvm_type() hook in MachineClass

2020-06-15 Thread Thomas Huth
On 15/06/2020 02.52, Huacai Chen wrote: > Hi, Aleksandar, > > On Sun, Jun 14, 2020 at 4:07 PM Aleksandar Markovic > wrote: >> >> >> >> уто, 2. јун 2020. у 04:38 Huacai Chen је написао/ла: >>> >>> MIPS has two types of KVM: TE & VZ, and TE is the default type. Now we >>> can't create a VZ guest

Re: [PATCH for-5.1 V4 1/4] hw/mips: Implement the kvm_type() hook in MachineClass

2020-06-14 Thread Huacai Chen
Hi, Aleksandar, On Sun, Jun 14, 2020 at 4:07 PM Aleksandar Markovic wrote: > > > > уто, 2. јун 2020. у 04:38 Huacai Chen је написао/ла: > > > > MIPS has two types of KVM: TE & VZ, and TE is the default type. Now we > > can't create a VZ guest in QEMU because it lacks the kvm_type() hook in > >

Re: [PATCH for-5.1 V4 1/4] hw/mips: Implement the kvm_type() hook in MachineClass

2020-06-14 Thread Aleksandar Markovic
уто, 2. јун 2020. у 04:38 Huacai Chen је написао/ла: > > MIPS has two types of KVM: TE & VZ, and TE is the default type. Now we > can't create a VZ guest in QEMU because it lacks the kvm_type() hook in > MachineClass. Besides, libvirt uses a null-machine to detect the kvm > capability, so by

Re: [PATCH for-5.1 V4 1/4] hw/mips: Implement the kvm_type() hook in MachineClass

2020-06-04 Thread Aleksandar Markovic
чет, 4. јун 2020. у 02:57 Huacai Chen је написао/ла: > > Hi, Alexandar, > > On Wed, Jun 3, 2020 at 10:34 PM Aleksandar Markovic > wrote: > > > > > > > > уто, 2. јун 2020. у 04:38 Huacai Chen је написао/ла: > >> > >> MIPS has two types of KVM: TE & VZ, and TE is the default type. Now we > >>

Re: [PATCH for-5.1 V4 1/4] hw/mips: Implement the kvm_type() hook in MachineClass

2020-06-03 Thread Huacai Chen
Hi, Alexandar, On Wed, Jun 3, 2020 at 10:34 PM Aleksandar Markovic wrote: > > > > уто, 2. јун 2020. у 04:38 Huacai Chen је написао/ла: >> >> MIPS has two types of KVM: TE & VZ, and TE is the default type. Now we >> can't create a VZ guest in QEMU because it lacks the kvm_type() hook in >>

Re: [PATCH for-5.1 V4 1/4] hw/mips: Implement the kvm_type() hook in MachineClass

2020-06-03 Thread Aleksandar Markovic
уто, 2. јун 2020. у 04:38 Huacai Chen је написао/ла: > MIPS has two types of KVM: TE & VZ, and TE is the default type. Now we > can't create a VZ guest in QEMU because it lacks the kvm_type() hook in > MachineClass. Besides, libvirt uses a null-machine to detect the kvm > capability, so by

[PATCH for-5.1 V4 1/4] hw/mips: Implement the kvm_type() hook in MachineClass

2020-06-01 Thread Huacai Chen
MIPS has two types of KVM: TE & VZ, and TE is the default type. Now we can't create a VZ guest in QEMU because it lacks the kvm_type() hook in MachineClass. Besides, libvirt uses a null-machine to detect the kvm capability, so by default it will return "KVM not supported" on a VZ platform. Thus,