Fix command.
This commit is contained in:
parent
ca1e00d326
commit
ba5dad1fe5
1 changed files with 2 additions and 2 deletions
|
|
@ -97,8 +97,8 @@ public class QemuMonitor extends Component {
|
||||||
+ "\"qmp_capabilities\" }", JsonNode.class);
|
+ "\"qmp_capabilities\" }", JsonNode.class);
|
||||||
cont = mapper.readValue("{ \"execute\": "
|
cont = mapper.readValue("{ \"execute\": "
|
||||||
+ "\"cont\" }", JsonNode.class);
|
+ "\"cont\" }", JsonNode.class);
|
||||||
powerdown = mapper.readValue("{\"execute\": "
|
powerdown = mapper.readValue("{ \"execute\": "
|
||||||
+ "\"query-cpus-fast\",\"arguments\":{}}", JsonNode.class);
|
+ "\"system_powerdown\" }", JsonNode.class);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
logger.log(Level.SEVERE, e,
|
logger.log(Level.SEVERE, e,
|
||||||
() -> "Cannot initialize class: " + e.getMessage());
|
() -> "Cannot initialize class: " + e.getMessage());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue