[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 5/7] Add vhost-user calls implementation
From: |
Luke Gorrie |
Subject: |
Re: [Qemu-devel] [PATCH v3 5/7] Add vhost-user calls implementation |
Date: |
Mon, 16 Dec 2013 10:15:13 +0100 |
Cool stuff :-)
some thoughts:
On 13 December 2013 12:14, Antonios Motakis
<address@hidden> wrote:
> static int vhost_user_recv(int fd, VhostUserMsg *msg)
> {
> ssize_t r = read(fd, msg, sizeof(VhostUserMsg));
Is it worth considering a "timeout and reconnect" check here? I mean
so that if the vhost server does not respond for any reason the guess
will see link down instead of freezing the hypervisor (?).
> + case VHOST_SET_VRING_ADDR:
> + memcpy(&msg.addr, arg, sizeof(struct vhost_vring_addr));
> + break;
I think these vring addresses need to be remapped from qemu address
space to guest-physical address space.
- [Qemu-devel] [PATCH v3 0/7] host and vhost-net support for userspace based backends, Antonios Motakis, 2013/12/13
- [Qemu-devel] [PATCH v3 1/7] Add -mem-share option, Antonios Motakis, 2013/12/13
- [Qemu-devel] [PATCH v3 3/7] Add vhost-user skeleton, Antonios Motakis, 2013/12/13
- [Qemu-devel] [PATCH v3 2/7] Decouple vhost from kernel interface, Antonios Motakis, 2013/12/13
- [Qemu-devel] [PATCH v3 4/7] Add domain socket communication for vhost-user backend, Antonios Motakis, 2013/12/13
- [Qemu-devel] [PATCH v3 5/7] Add vhost-user calls implementation, Antonios Motakis, 2013/12/13
- Re: [Qemu-devel] [PATCH v3 5/7] Add vhost-user calls implementation,
Luke Gorrie <=
- [Qemu-devel] [PATCH v3 6/7] Add new vhost-user netdev backend, Antonios Motakis, 2013/12/13
- [Qemu-devel] [PATCH v3 7/7] Add vhost-user reconnection, Antonios Motakis, 2013/12/13