Re: [Qemu-devel] [PATCH v5 1/4] vhost: remove assertion to prevent crash

2018-01-10 Thread Zhoujian (jay)
Arei) ; Liuzhe (Ahriy, > Euler) > Subject: Re: [Qemu-devel] [PATCH v5 1/4] vhost: remove assertion to prevent > crash > > On Wed, 10 Jan 2018 00:39:35 +0800 > Jay Zhou wrote: > > > Start QEMU with more DIMM devices than limit but without any vhost > > backends

Re: [Qemu-devel] [PATCH v5 1/4] vhost: remove assertion to prevent crash

2018-01-10 Thread Igor Mammedov
On Wed, 10 Jan 2018 00:39:35 +0800 Jay Zhou wrote: > Start QEMU with more DIMM devices than limit but without any > vhost backends and then hotplug a vhost user backend, the VM > will be crashed. > Instead of asserting in vhost_user_set_mem_table(), error number > is used to gracefully prevent de

[Qemu-devel] [PATCH v5 1/4] vhost: remove assertion to prevent crash

2018-01-09 Thread Jay Zhou
Start QEMU with more DIMM devices than limit but without any vhost backends and then hotplug a vhost user backend, the VM will be crashed. Instead of asserting in vhost_user_set_mem_table(), error number is used to gracefully prevent device to start. This fixes the crash issue. Cc: qemu-sta...@non