This repository has been archived by the owner on May 12, 2021. It is now read-only.
execute query-hotpluggable-cpus qmp command cause kata-runtime create block #1363
Labels
bug
Incorrect behaviour
Description of problem
Host environment:
host has 72 cpus:
I execute the following docker command and since qemu start with 1 cpu which is specified in configuration.toml file by
default_vcpus
field, so kata-runtime create process will hotplug another 3 vcpus into sandbox.however after executing above command, I get the error info in terminal:
Then I find the error info in the log file:
log info indicates qmp read the wrong return message which is mixed by RTC_CHANGE event, and this bug is caused by scanner.Bytes() reuse the same underlying array between two scan() function, the
sequential scan() function write the read date into the same buf.
Expected result
docker command execute successfully.
Actual result
docker command failed and with above output and log.
The text was updated successfully, but these errors were encountered: