mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-06 17:35:20 +02:00
LF-3016-3 tools/virtio: ivshmem-console: correct device_vector to 0
We need to set device_vector to 0, otherwise inmate is not able to trigger interrupt to root cell and virtio console not work. This is a hack, not a good fix. With MSIX, we might able to use 2, but we are using INTX now. Reviewed-by: Ye Li <ye.li@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
parent
761bdcb3fd
commit
b0a28a79a1
|
@ -361,9 +361,9 @@ int main(int argc, char *argv[])
|
|||
|
||||
memset(queue_config, 0, sizeof(queue_config));
|
||||
queue_config[0].size = 8;
|
||||
queue_config[0].device_vector = 1;
|
||||
queue_config[0].device_vector = 0;
|
||||
queue_config[1].size = 8;
|
||||
queue_config[1].device_vector = 2;
|
||||
queue_config[1].device_vector = 0;
|
||||
current_queue = -1;
|
||||
|
||||
vc->config.cols = winsize.ws_col;
|
||||
|
|
Loading…
Reference in New Issue
Block a user