mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 18:44:58 -06:00
s390x: deprecate s390-squash-mcss machine prop
With the cssids unrestricted (commit "s390x/css: unrestrict cssids") the s390-squash-mcss machine property should not be used. Actually Libvirt never supported this, so the expectation is that removing it should be pretty painless. But let's play nice and deprecate it first. Signed-off-by: Halil Pasic <pasic@linux.vnet.ibm.com> Message-Id: <20171206144438.28908-3-pasic@linux.vnet.ibm.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
This commit is contained in:
parent
99577c492f
commit
d69969e55f
3 changed files with 21 additions and 2 deletions
|
@ -308,6 +308,11 @@ static void ccw_init(MachineState *machine)
|
|||
} else {
|
||||
ret = css_create_css_image(VIRTUAL_CSSID, true);
|
||||
}
|
||||
if (qemu_opt_get(qemu_get_machine_opts(), "s390-squash-mcss")) {
|
||||
warn_report("The machine property 's390-squash-mcss' is deprecated"
|
||||
" (obsoleted by lifting the cssid restrictions).");
|
||||
}
|
||||
|
||||
assert(ret == 0);
|
||||
if (css_migration_enabled()) {
|
||||
css_register_vmstate();
|
||||
|
@ -582,7 +587,7 @@ static inline void s390_machine_initfn(Object *obj)
|
|||
object_property_add_bool(obj, "s390-squash-mcss",
|
||||
machine_get_squash_mcss,
|
||||
machine_set_squash_mcss, NULL);
|
||||
object_property_set_description(obj, "s390-squash-mcss",
|
||||
object_property_set_description(obj, "s390-squash-mcss", "(deprecated) "
|
||||
"enable/disable squashing subchannels into the default css",
|
||||
NULL);
|
||||
object_property_set_bool(obj, false, "s390-squash-mcss", NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue