[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC v3] qemu: Add virtio pmem device
From: |
Luiz Capitulino |
Subject: |
Re: [Qemu-devel] [RFC v3] qemu: Add virtio pmem device |
Date: |
Thu, 19 Jul 2018 08:57:56 -0400 |
On Thu, 19 Jul 2018 08:48:19 -0400
Luiz Capitulino <address@hidden> wrote:
> > It will be necessary to define specific constants for virtio-pmem
> > instead of passing errno from the host to guest.
>
> Yes, defining your own constants work. But I think the only fsync()
> error that will make sense for the guest is EIO. The other errors
> only make sense for the host.
Just to clarify: of course you'll return an error to guest on any
fsync() error. But maybe you should always return EIO even if the error
was EBADF for example. Or just signal the error with some constant,
and let the guest implementation pick any errno it prefers (this was
my first suggestion).
- Re: [Qemu-devel] [RFC v3 2/2] virtio-pmem: Add virtio pmem driver, (continued)
Re: [Qemu-devel] [RFC v3 2/2] virtio-pmem: Add virtio pmem driver, Stefan Hajnoczi, 2018/07/17
[Qemu-devel] [RFC v3] qemu: Add virtio pmem device, Pankaj Gupta, 2018/07/13
Re: [Qemu-devel] [RFC v3] qemu: Add virtio pmem device, Luiz Capitulino, 2018/07/19
Re: [Qemu-devel] [RFC v3] qemu: Add virtio pmem device, Eric Blake, 2018/07/24