Re: pci-assign terminates the guest upon pread() / pwrite() error?

Jan Kiszka
2012-09-20T17:36:15Z

On 2012-09-20 19:27, Etienne Martineau wrote:
> In hw/kvm/pci-assign.c a pread() error part of assigned_dev_pci_read()
> result in a hw_error(). Similarly a pwrite() error part of
> assigned_dev_pci_write() also result in a hw_error().
>
> Would there be a way to avoid terminating the guest for those cases? How
> about we deassign the device upon error?

First of all, is this a regression of latest QEMU / qemu-kvm? Or was it
always like this for you?

Then, can you provide more information about the device (lscpi -vv) and
what accesses go wrong (printf, complete console output)?

Jan

--
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux