Re: [Xen-devel] PV guest with PCI passthrough crash on Xen 4.8.3 inside KVM when booted through OVMF

2018-02-19 Thread Andrew Cooper
On 19/02/18 17:46, Juergen Gross wrote: > On 19/02/18 18:29, Marek Marczykowski-Górecki wrote: >> On Mon, Feb 19, 2018 at 06:23:40PM +0100, Juergen Gross wrote: >>> On 16/02/18 20:54, Marek Marczykowski-Górecki wrote: Just before the BUG(), there is a call to xen_raw_console_write(). But

Re: [Xen-devel] PV guest with PCI passthrough crash on Xen 4.8.3 inside KVM when booted through OVMF

2018-02-19 Thread Juergen Gross
On 19/02/18 18:29, Marek Marczykowski-Górecki wrote: > On Mon, Feb 19, 2018 at 06:23:40PM +0100, Juergen Gross wrote: >> On 16/02/18 20:54, Marek Marczykowski-Górecki wrote: >>> Just before the BUG(), there is a call to xen_raw_console_write(). But >>> apparently it was too early... >> >> Depends.

Re: [Xen-devel] PV guest with PCI passthrough crash on Xen 4.8.3 inside KVM when booted through OVMF

2018-02-19 Thread Marek Marczykowski-Górecki
On Mon, Feb 19, 2018 at 06:23:40PM +0100, Juergen Gross wrote: > On 16/02/18 20:54, Marek Marczykowski-Górecki wrote: > > Just before the BUG(), there is a call to xen_raw_console_write(). But > > apparently it was too early... > > Depends. > > With a debug enabled hypervisor and appropriate log

Re: [Xen-devel] PV guest with PCI passthrough crash on Xen 4.8.3 inside KVM when booted through OVMF

2018-02-19 Thread Juergen Gross
On 16/02/18 20:02, Andrew Cooper wrote: > On 16/02/18 18:51, Marek Marczykowski-Górecki wrote: >> On Fri, Feb 16, 2018 at 05:52:50PM +, Andrew Cooper wrote: >>> On 16/02/18 17:48, Marek Marczykowski-Górecki wrote: Hi, As in the subject, the guest crashes on boot, before kernel

Re: [Xen-devel] PV guest with PCI passthrough crash on Xen 4.8.3 inside KVM when booted through OVMF

2018-02-19 Thread Juergen Gross
On 16/02/18 20:54, Marek Marczykowski-Górecki wrote: > On Fri, Feb 16, 2018 at 07:02:39PM +, Andrew Cooper wrote: >> On 16/02/18 18:51, Marek Marczykowski-Górecki wrote: >>> On Fri, Feb 16, 2018 at 05:52:50PM +, Andrew Cooper wrote: On 16/02/18 17:48, Marek Marczykowski-Górecki wrote:

Re: [Xen-devel] PV guest with PCI passthrough crash on Xen 4.8.3 inside KVM when booted through OVMF

2018-02-19 Thread Roger Pau Monné
On Fri, Feb 16, 2018 at 04:35:14PM -0500, Rich Persaud wrote: > On Feb 16, 2018, at 14:02, Andrew Cooper wrote: > > > > IMO, PCI Passthrough is a trainwreck, and it is a miracle it functions > > at all. > > Would that statement apply to other hypervisors like KVM,

Re: [Xen-devel] PV guest with PCI passthrough crash on Xen 4.8.3 inside KVM when booted through OVMF

2018-02-16 Thread Rich Persaud
On Feb 16, 2018, at 14:02, Andrew Cooper wrote: > > IMO, PCI Passthrough is a trainwreck, and it is a miracle it functions > at all. Would that statement apply to other hypervisors like KVM, VMware ESX or Hyper-V, i.e. are the deficiencies in PCI devices/firmware,

Re: [Xen-devel] PV guest with PCI passthrough crash on Xen 4.8.3 inside KVM when booted through OVMF

2018-02-16 Thread Marek Marczykowski-Górecki
On Fri, Feb 16, 2018 at 07:02:39PM +, Andrew Cooper wrote: > On 16/02/18 18:51, Marek Marczykowski-Górecki wrote: > > On Fri, Feb 16, 2018 at 05:52:50PM +, Andrew Cooper wrote: > >> On 16/02/18 17:48, Marek Marczykowski-Górecki wrote: > >>> Hi, > >>> > >>> As in the subject, the guest

Re: [Xen-devel] PV guest with PCI passthrough crash on Xen 4.8.3 inside KVM when booted through OVMF

2018-02-16 Thread Andrew Cooper
On 16/02/18 18:51, Marek Marczykowski-Górecki wrote: > On Fri, Feb 16, 2018 at 05:52:50PM +, Andrew Cooper wrote: >> On 16/02/18 17:48, Marek Marczykowski-Górecki wrote: >>> Hi, >>> >>> As in the subject, the guest crashes on boot, before kernel output >>> anything. I've isolated this to the

Re: [Xen-devel] PV guest with PCI passthrough crash on Xen 4.8.3 inside KVM when booted through OVMF

2018-02-16 Thread Marek Marczykowski-Górecki
On Fri, Feb 16, 2018 at 05:52:50PM +, Andrew Cooper wrote: > On 16/02/18 17:48, Marek Marczykowski-Górecki wrote: > > Hi, > > > > As in the subject, the guest crashes on boot, before kernel output > > anything. I've isolated this to the conditions below: > > - PV guest have PCI device

Re: [Xen-devel] PV guest with PCI passthrough crash on Xen 4.8.3 inside KVM when booted through OVMF

2018-02-16 Thread Andrew Cooper
On 16/02/18 17:48, Marek Marczykowski-Górecki wrote: > Hi, > > As in the subject, the guest crashes on boot, before kernel output > anything. I've isolated this to the conditions below: > - PV guest have PCI device assigned (e1000e emulated by QEMU in this case), >without PCI device it works