Bug 1944985
| Summary: | [WRB][QEMU6.0 rc0]qmp command 'object-add' does not support 'props' parameter | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux Advanced Virtualization | Reporter: | Yanan Fu <yfu> |
| Component: | qemu-kvm | Assignee: | Virtualization Maintenance <virt-maint> |
| qemu-kvm sub component: | QMP Monitor and CLI | QA Contact: | Yiqian Wei <yiwei> |
| Status: | CLOSED NOTABUG | Docs Contact: | |
| Severity: | high | ||
| Priority: | high | CC: | aliang, coli, jinzhao, juzhang, kwolf, lcheng, mrezanin, qinwang, virt-maint, xfu, xuwei, yfu, yisun, ymankad, yuhuang, zixchen |
| Version: | 8.5 | Flags: | pm-rhel:
mirror+
|
| Target Milestone: | beta | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-04-06 09:56:33 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Yanan Fu
2021-03-31 07:05:24 UTC
After review the code change, i got:
commit 50243407457a9fb0ed17b9a9ba9fc9aee09495b1
Author: Kevin Wolf <kwolf>
Date: Fri Nov 27 18:11:02 2020 +0100
qapi/qom: Drop deprecated 'props' from object-add
The option has been deprecated in QEMU 5.0, remove it.
Signed-off-by: Kevin Wolf <kwolf>
Acked-by: Paolo Bonzini <pbonzini>
Acked-by: Peter Krempa <pkrempa>
Reviewed-by: Eric Blake <eblake>
So, this is the expected result ?
Hi Kevin,
Could you help check this, without the props, we need add all the properties one by one, is it ?
Move to RHEL-AV (In reply to Yanan Fu from comment #1) > So, this is the expected result ? Yes, this is expected. It seems that you were manually sending QMP commands, so it's not a layered product that missed the change and is affected, right? I'm closing as NOTABUG now, but if a layered product can't handle the change, we would need to reopen and move it there. > Hi Kevin, > Could you help check this, without the props, we need add all the properties > one by one, is it ? You just need to specify all properties on the top level now, like this: {"execute": "object-add", "arguments": {"qom-type": "memory-backend-ram", "id": "mem-plug1", "size": 1073741824, "policy": "default"}, "id": "PpDR2Rg7"} (In reply to Kevin Wolf from comment #3) > (In reply to Yanan Fu from comment #1) > > So, this is the expected result ? > > Yes, this is expected. It seems that you were manually sending QMP commands, > so it's not a layered product that missed the change and is affected, right? > I'm closing as NOTABUG now, but if a layered product can't handle the > change, we would need to reopen and move it there. > Yes, i tested with qemu-kvm directly, will update our auto script accordingly. Just tried with libvirt-7.0.0, it still use 'props' now: {"execute":"object-add","arguments":{"qom-type":"memory-backend-ram","id":"memdimm0","props":{"size":524288000}},"id":"libvirt-380"} This is a upstream QEMU testing, will pay attention to this issue when it be consumed by downstream libvirt, thanks! > > Hi Kevin, > > Could you help check this, without the props, we need add all the properties > > one by one, is it ? > > You just need to specify all properties on the top level now, like this: > > {"execute": "object-add", "arguments": {"qom-type": "memory-backend-ram", > "id": "mem-plug1", "size": 1073741824, "policy": "default"}, "id": > "PpDR2Rg7"} |