ó ¹µiVc@sedZddlmZddlmZmZddlmZmZdefd„ƒYZ d„Z dS( s& zvmm firmware backend for pybootmgmt iÿÿÿÿ(tSystemFirmware(t!BootmgmtUnsupportedOperationErrortBootmgmtPropertyWriteError(ttesting_getpropttesting_setpropt ZvmmFirmwarecBs)eZdZd„Zd„Zd„ZRS(s#Simple zvmm firmware implementationcCs2t|ƒ\}}|r|Stt|ƒj|ƒS(s Get property -- pass on to super(RtsuperRtgetprop(tselftpropnametrettval((s(../../common/bootmgmt/backend/fw/zvmm.pyR%scCsT|tjkrtdƒ‚nt||ƒ}|r7dStt|ƒj||ƒdS(s3Setting properties is not supported on zvmm systemss(Properties are read-only on zvmm systemsN(RtPROP_BOOT_DEVICERRRRtsetprop(RR tvalueR ((s(../../common/bootmgmt/backend/fw/zvmm.pyR /s cCstdƒ‚dS(s4Deleting properties is not supported on zvmm systemss,Properties cannot be deleted on zvmm systemsN(R(RR ((s(../../common/bootmgmt/backend/fw/zvmm.pytdelprop?s(t__name__t __module__t__doc__RR R(((s(../../common/bootmgmt/backend/fw/zvmm.pyR"s cCstS(s/Return an instance of SystemFirmware to factory(R(((s(../../common/bootmgmt/backend/fw/zvmm.pytfirmware_backendDsN( Rtbootmgmt.bootinfoRtbootmgmtRRtbootmgmt.backend.fwRRRR(((s(../../common/bootmgmt/backend/fw/zvmm.pyts "