All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: Etienne Martineau <etmartin101@gmail.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>, kvm <kvm@vger.kernel.org>
Subject: Re: pci-assign terminates the guest upon pread() / pwrite() error?
Date: Thu, 20 Sep 2012 19:36:09 +0200	[thread overview]
Message-ID: <505B5409.1070804@siemens.com> (raw)
In-Reply-To: <505B5218.10009@gmail.com>

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

  reply	other threads:[~2012-09-20 17:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-20 17:27 pci-assign terminates the guest upon pread() / pwrite() error? Etienne Martineau
2012-09-20 17:36 ` Jan Kiszka [this message]
2012-09-20 18:16 ` Alex Williamson
2012-09-20 19:08   ` Etienne Martineau
2012-09-20 19:37     ` Alex Williamson
2012-09-20 20:36       ` Etienne Martineau
2012-09-20 21:13         ` Alex Williamson
2012-09-21 15:17           ` Etienne Martineau
2012-09-21 15:49             ` Alex Williamson
2012-09-21 17:07               ` Etienne Martineau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=505B5409.1070804@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=etmartin101@gmail.com \
    --cc=kvm@vger.kernel.org \
    --cc=mtosatti@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.