mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
A read-only check was introduced for XSA-142, commitef6cb76026("libxl: relax readonly check introduced by XSA-142 fix") added the passing of the extra setting, but commitdab0539568("Introduce COLO mode and refactor relevant function") dropped the passing of the setting again, quite likely due to improper re-basing. Restore the readonly= parameter to SCSI disks. For IDE disks this is supposed to be rejected; add an assert. And there is a bare ad-hoc disk drive string in libxl__build_device_model_args_new, which we also update. This is XSA-266. Reported-by: Andrew Reimers <andrew.reimers@orionvm.com> Signed-off-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>