Re: [PATCH 1/2] vdpa: Replace qemu_open_old by qemu_open at

2021-11-14 Thread Jason Wang
On Sat, Nov 13, 2021 at 3:34 AM Eugenio Pérez wrote: > > There is no reason to keep using the old one, since we neither use the > variadics arguments nor open it with O_DIRECT. > > Also, net_client_init1, the caller of net_init_vhost_vdpa, wants all > net_client_init_fun to use Error API, so it's

[PATCH 1/2] vdpa: Replace qemu_open_old by qemu_open at

2021-11-12 Thread Eugenio Pérez
There is no reason to keep using the old one, since we neither use the variadics arguments nor open it with O_DIRECT. Also, net_client_init1, the caller of net_init_vhost_vdpa, wants all net_client_init_fun to use Error API, so it's a good step in that direction. Signed-off-by: Eugenio Pérez ---