Re: [Qemu-devel] vfio in the guest: no available reset mechanism

2014-08-04 Thread Michael S. Tsirkin
On Sat, Aug 02, 2014 at 07:54:30AM +0200, Jan Kiszka wrote: On 2014-08-01 19:16, Alex Williamson wrote: Also, it may let some of our device models deviate from their real versions (I suppose, e.g., none of the e1000 devices we currently emulate exposed FLR). Of course, but what are

Re: [Qemu-devel] vfio in the guest: no available reset mechanism

2014-08-01 Thread Alex Williamson
On Fri, 2014-08-01 at 09:35 +0800, Le Tan wrote: Hi Alex, 2014-07-30 22:46 GMT+08:00 Alex Williamson alex.william...@redhat.com: On Wed, 2014-07-30 at 22:16 +0800, Le Tan wrote: Hi Michael, 2014-07-30 21:16 GMT+08:00 Michael S. Tsirkin m...@redhat.com: On Wed, Jul 30, 2014 at

Re: [Qemu-devel] vfio in the guest: no available reset mechanism

2014-08-01 Thread Alex Williamson
On Fri, 2014-08-01 at 09:25 -0600, Alex Williamson wrote: On Fri, 2014-08-01 at 09:35 +0800, Le Tan wrote: Hi Alex, 2014-07-30 22:46 GMT+08:00 Alex Williamson alex.william...@redhat.com: On Wed, 2014-07-30 at 22:16 +0800, Le Tan wrote: Hi Michael, 2014-07-30 21:16 GMT+08:00

Re: [Qemu-devel] vfio in the guest: no available reset mechanism

2014-08-01 Thread Jan Kiszka
On 2014-08-01 18:35, Alex Williamson wrote: On Fri, 2014-08-01 at 09:25 -0600, Alex Williamson wrote: On Fri, 2014-08-01 at 09:35 +0800, Le Tan wrote: Hi Alex, 2014-07-30 22:46 GMT+08:00 Alex Williamson alex.william...@redhat.com: On Wed, 2014-07-30 at 22:16 +0800, Le Tan wrote: Hi Michael,

Re: [Qemu-devel] vfio in the guest: no available reset mechanism

2014-08-01 Thread Alex Williamson
On Fri, 2014-08-01 at 18:39 +0200, Jan Kiszka wrote: On 2014-08-01 18:35, Alex Williamson wrote: On Fri, 2014-08-01 at 09:25 -0600, Alex Williamson wrote: On Fri, 2014-08-01 at 09:35 +0800, Le Tan wrote: Hi Alex, 2014-07-30 22:46 GMT+08:00 Alex Williamson alex.william...@redhat.com:

Re: [Qemu-devel] vfio in the guest: no available reset mechanism

2014-08-01 Thread Le Tan
2014-08-01 23:25 GMT+08:00 Alex Williamson alex.william...@redhat.com: On Fri, 2014-08-01 at 09:35 +0800, Le Tan wrote: Hi Alex, 2014-07-30 22:46 GMT+08:00 Alex Williamson alex.william...@redhat.com: On Wed, 2014-07-30 at 22:16 +0800, Le Tan wrote: Hi Michael, 2014-07-30 21:16

Re: [Qemu-devel] vfio in the guest: no available reset mechanism

2014-08-01 Thread Jan Kiszka
On 2014-08-01 19:16, Alex Williamson wrote: Also, it may let some of our device models deviate from their real versions (I suppose, e.g., none of the e1000 devices we currently emulate exposed FLR). Of course, but what are the chances that the driver will care? No drivers of GPOSes, but

Re: [Qemu-devel] vfio in the guest: no available reset mechanism

2014-07-31 Thread Le Tan
Hi Alex, 2014-07-30 22:46 GMT+08:00 Alex Williamson alex.william...@redhat.com: On Wed, 2014-07-30 at 22:16 +0800, Le Tan wrote: Hi Michael, 2014-07-30 21:16 GMT+08:00 Michael S. Tsirkin m...@redhat.com: On Wed, Jul 30, 2014 at 08:24:04PM +0800, Le Tan wrote: Hi, I am testing vfio in L1

[Qemu-devel] vfio in the guest: no available reset mechanism

2014-07-30 Thread Le Tan
Hi, I am testing vfio in L1 with my VT-d emulation project. I assigned one of the two AHCI controllers in L1 to L2 via vfio. After I ran the QEMU in L1, it complains that: qemu-system-x86_64: vfio: Cannot reset device :00:03.0, no available reset mechanism. qemu-system-x86_64: vfio: Cannot

Re: [Qemu-devel] vfio in the guest: no available reset mechanism

2014-07-30 Thread Michael S. Tsirkin
On Wed, Jul 30, 2014 at 08:24:04PM +0800, Le Tan wrote: Hi, I am testing vfio in L1 with my VT-d emulation project. I assigned one of the two AHCI controllers in L1 to L2 via vfio. After I ran the QEMU in L1, it complains that: qemu-system-x86_64: vfio: Cannot reset device :00:03.0, no

Re: [Qemu-devel] vfio in the guest: no available reset mechanism

2014-07-30 Thread Le Tan
Hi Michael, 2014-07-30 21:16 GMT+08:00 Michael S. Tsirkin m...@redhat.com: On Wed, Jul 30, 2014 at 08:24:04PM +0800, Le Tan wrote: Hi, I am testing vfio in L1 with my VT-d emulation project. I assigned one of the two AHCI controllers in L1 to L2 via vfio. After I ran the QEMU in L1, it

Re: [Qemu-devel] vfio in the guest: no available reset mechanism

2014-07-30 Thread Alex Williamson
On Wed, 2014-07-30 at 22:16 +0800, Le Tan wrote: Hi Michael, 2014-07-30 21:16 GMT+08:00 Michael S. Tsirkin m...@redhat.com: On Wed, Jul 30, 2014 at 08:24:04PM +0800, Le Tan wrote: Hi, I am testing vfio in L1 with my VT-d emulation project. I assigned one of the two AHCI controllers in

Re: [Qemu-devel] vfio in the guest: no available reset mechanism

2014-07-30 Thread Michael S. Tsirkin
On Wed, Jul 30, 2014 at 10:16:32PM +0800, Le Tan wrote: Hi Michael, 2014-07-30 21:16 GMT+08:00 Michael S. Tsirkin m...@redhat.com: On Wed, Jul 30, 2014 at 08:24:04PM +0800, Le Tan wrote: Hi, I am testing vfio in L1 with my VT-d emulation project. I assigned one of the two AHCI