Re: [Qemu-devel] [PATCH 2/3] pcie: check that slt ctrl changed before deleting

2019-07-01 Thread Igor Mammedov
On Fri, 21 Jun 2019 02:46:48 -0400 "Michael S. Tsirkin" wrote: > During boot, linux would sometimes overwrites control of a powered off > slot before powering it on. Unfortunately QEMU interprets that as a > power off request and ejects the device. > > For example: > > /x86_64-softmmu/qemu-syst

Re: [Qemu-devel] [PATCH 2/3] pcie: check that slt ctrl changed before deleting

2019-07-01 Thread Michael S. Tsirkin
On Tue, Jun 25, 2019 at 02:45:11PM +0200, Igor Mammedov wrote: > On Fri, 21 Jun 2019 02:46:48 -0400 > "Michael S. Tsirkin" wrote: > > > During boot, linux would sometimes overwrites control of a powered off > > slot before powering it on. Unfortunately QEMU interprets that as a > > power off requ

Re: [Qemu-devel] [PATCH 2/3] pcie: check that slt ctrl changed before deleting

2019-07-01 Thread Marcel Apfelbaum
On 6/21/19 9:46 AM, Michael S. Tsirkin wrote: During boot, linux would sometimes overwrites control of a powered off slot before powering it on. Unfortunately QEMU interprets that as a power off request and ejects the device. For example: /x86_64-softmmu/qemu-system-x86_64 -enable-kvm -S -ma

Re: [Qemu-devel] [PATCH 2/3] pcie: check that slt ctrl changed before deleting

2019-06-25 Thread Igor Mammedov
On Fri, 21 Jun 2019 02:46:48 -0400 "Michael S. Tsirkin" wrote: > During boot, linux would sometimes overwrites control of a powered off > slot before powering it on. Unfortunately QEMU interprets that as a > power off request and ejects the device. > > For example: > > /x86_64-softmmu/qemu-syst

[Qemu-devel] [PATCH 2/3] pcie: check that slt ctrl changed before deleting

2019-06-20 Thread Michael S. Tsirkin
During boot, linux would sometimes overwrites control of a powered off slot before powering it on. Unfortunately QEMU interprets that as a power off request and ejects the device. For example: /x86_64-softmmu/qemu-system-x86_64 -enable-kvm -S -machine q35 \ -device pcie-root-port,id=pcie_ro