Re: [PATCH v8 15/19] hvf: arm: Implement -cpu host

2021-09-13 Thread Alexander Graf
On 13.09.21 13:48, Peter Maydell wrote: > On Mon, 13 Sept 2021 at 12:46, Alexander Graf wrote: >> >> On 13.09.21 12:52, Peter Maydell wrote: >>> On Mon, 13 Sept 2021 at 11:46, Alexander Graf wrote: Why? You only get to this code path if you already selected -accel hvf. If even a simpl

Re: [PATCH v8 15/19] hvf: arm: Implement -cpu host

2021-09-13 Thread Peter Maydell
On Mon, 13 Sept 2021 at 12:46, Alexander Graf wrote: > > > On 13.09.21 12:52, Peter Maydell wrote: > > On Mon, 13 Sept 2021 at 11:46, Alexander Graf wrote: > >> Why? You only get to this code path if you already selected -accel hvf. > >> If even a simple "create scratch vcpu" syscall failed then,

Re: [PATCH v8 15/19] hvf: arm: Implement -cpu host

2021-09-13 Thread Alexander Graf
On 13.09.21 12:52, Peter Maydell wrote: > On Mon, 13 Sept 2021 at 11:46, Alexander Graf wrote: >> Why? You only get to this code path if you already selected -accel hvf. >> If even a simple "create scratch vcpu" syscall failed then, pretty >> failure when you define -cpu host is the last thing y

Re: [PATCH v8 15/19] hvf: arm: Implement -cpu host

2021-09-13 Thread Peter Maydell
On Mon, 13 Sept 2021 at 11:46, Alexander Graf wrote: > Why? You only get to this code path if you already selected -accel hvf. > If even a simple "create scratch vcpu" syscall failed then, pretty > failure when you define -cpu host is the last thing you care about. Any > CPU creation would fail.

Re: [PATCH v8 15/19] hvf: arm: Implement -cpu host

2021-09-13 Thread Alexander Graf
On 13.09.21 10:28, Peter Maydell wrote: > On Sun, 12 Sept 2021 at 21:23, Alexander Graf wrote: >> >> On 15.06.21 12:56, Peter Maydell wrote: >>> On Wed, 19 May 2021 at 21:23, Alexander Graf wrote: Now that we have working system register sync, we push more target CPU properties into t

Re: [PATCH v8 15/19] hvf: arm: Implement -cpu host

2021-09-13 Thread Peter Maydell
On Sun, 12 Sept 2021 at 21:23, Alexander Graf wrote: > > > On 15.06.21 12:56, Peter Maydell wrote: > > On Wed, 19 May 2021 at 21:23, Alexander Graf wrote: > >> Now that we have working system register sync, we push more target CPU > >> properties into the virtual machine. That might be useful in

Re: [PATCH v8 15/19] hvf: arm: Implement -cpu host

2021-09-12 Thread Alexander Graf
On 15.06.21 12:56, Peter Maydell wrote: > On Wed, 19 May 2021 at 21:23, Alexander Graf wrote: >> Now that we have working system register sync, we push more target CPU >> properties into the virtual machine. That might be useful in some >> situations, but is not the typical case that users want.

Re: [PATCH v8 15/19] hvf: arm: Implement -cpu host

2021-06-15 Thread Peter Maydell
On Wed, 19 May 2021 at 21:23, Alexander Graf wrote: > > Now that we have working system register sync, we push more target CPU > properties into the virtual machine. That might be useful in some > situations, but is not the typical case that users want. > > So let's add a -cpu host option that all

Re: [PATCH v8 15/19] hvf: arm: Implement -cpu host

2021-05-27 Thread Sergio Lopez
On Wed, May 19, 2021 at 10:22:49PM +0200, Alexander Graf wrote: > Now that we have working system register sync, we push more target CPU > properties into the virtual machine. That might be useful in some > situations, but is not the typical case that users want. > > So let's add a -cpu host optio