Re: [PATCH] virtinst: use 'host-passthrough' as default 'host' on AArch64

2020-04-07 Thread Andrea Bolognani
On Tue, 2020-04-07 at 09:57 -0400, Liang Yan wrote: > On 4/7/20 9:24 AM, Andrea Bolognani wrote: > > On Tue, 2020-04-07 at 08:01 -0400, Liang Yan wrote: > > > I agree we could document this situation at least. It does block our > > > aarch64 tests while it is ok for x86_64. > > > > Can't you just

Re: [PATCH] virtinst: use 'host-passthrough' as default 'host' on AArch64

2020-04-07 Thread Liang Yan
Thanks for the reply. On 4/7/20 9:28 AM, Daniel P. Berrangé wrote: > On Tue, Apr 07, 2020 at 08:01:50AM -0400, Liang Yan wrote: >> Thanks for the input. >> >> On 4/7/20 3:54 AM, Andrea Bolognani wrote: >>> On Mon, 2020-04-06 at 16:51 -0400, Liang Yan wrote: virt-install already uses 'host-pas

Re: [PATCH] virtinst: use 'host-passthrough' as default 'host' on AArch64

2020-04-07 Thread Liang Yan
On 4/7/20 9:24 AM, Andrea Bolognani wrote: > On Tue, 2020-04-07 at 08:01 -0400, Liang Yan wrote: >> On 4/7/20 3:54 AM, Andrea Bolognani wrote: >>> These semantics are not architecture dependent and, while the choice >>> of name is a bit unfortunate considering that QEMU's -cpu host and >>> virt-

Re: [PATCH] virtinst: use 'host-passthrough' as default 'host' on AArch64

2020-04-07 Thread Daniel P . Berrangé
On Tue, Apr 07, 2020 at 08:01:50AM -0400, Liang Yan wrote: > Thanks for the input. > > On 4/7/20 3:54 AM, Andrea Bolognani wrote: > > On Mon, 2020-04-06 at 16:51 -0400, Liang Yan wrote: > >> virt-install already uses 'host-passthrough' as default when no setup > >> for cmline '--cpu'. However, it

Re: [PATCH] virtinst: use 'host-passthrough' as default 'host' on AArch64

2020-04-07 Thread Andrea Bolognani
On Tue, 2020-04-07 at 08:01 -0400, Liang Yan wrote: > On 4/7/20 3:54 AM, Andrea Bolognani wrote: > > These semantics are not architecture dependent and, while the choice > > of name is a bit unfortunate considering that QEMU's -cpu host and > > virt-install's --cpu host have different meanings, I t

Re: [PATCH] virtinst: use 'host-passthrough' as default 'host' on AArch64

2020-04-07 Thread Liang Yan
Thanks for the input. On 4/7/20 3:54 AM, Andrea Bolognani wrote: > On Mon, 2020-04-06 at 16:51 -0400, Liang Yan wrote: >> virt-install already uses 'host-passthrough' as default when no setup >> for cmline '--cpu'. However, it will still use 'host-model' when comes >> with '-cpu host'. This will b

Re: [PATCH] virtinst: use 'host-passthrough' as default 'host' on AArch64

2020-04-07 Thread Liang Yan
Thanks for the comment. On 4/7/20 3:31 AM, Pavel Hrdina wrote: > On Mon, Apr 06, 2020 at 04:51:29PM -0400, Liang Yan wrote: >> virt-install already uses 'host-passthrough' as default when no setup >> for cmline '--cpu'. However, it will still use 'host-model' when comes >> with '-cpu host'. This w

Re: [PATCH] virtinst: use 'host-passthrough' as default 'host' on AArch64

2020-04-07 Thread Andrea Bolognani
On Mon, 2020-04-06 at 16:51 -0400, Liang Yan wrote: > virt-install already uses 'host-passthrough' as default when no setup > for cmline '--cpu'. However, it will still use 'host-model' when comes > with '-cpu host'. This will be a problem for aarch64 platfrom as > 'host-model' for aarch64 kvm doma

Re: [PATCH] virtinst: use 'host-passthrough' as default 'host' on AArch64

2020-04-07 Thread Pavel Hrdina
On Mon, Apr 06, 2020 at 04:51:29PM -0400, Liang Yan wrote: > virt-install already uses 'host-passthrough' as default when no setup > for cmline '--cpu'. However, it will still use 'host-model' when comes > with '-cpu host'. This will be a problem for aarch64 platfrom as > 'host-model' for aarch64 k

[PATCH] virtinst: use 'host-passthrough' as default 'host' on AArch64

2020-04-06 Thread Liang Yan
virt-install already uses 'host-passthrough' as default when no setup for cmline '--cpu'. However, it will still use 'host-model' when comes with '-cpu host'. This will be a problem for aarch64 platfrom as 'host-model' for aarch64 kvm domain on aarch64 host is not supported yet. Signed-off-by: Lia