/openbmc/qemu/tests/qemu-iotests/ |
H A D | 257.out | 23 --- Reference Backup #0 --- 33 {"execute": "blockdev-backup", "arguments": {"device": "drive0", "filter-node-name": "backup-top", … 35 …ref_backup_0", "len": 67108864, "offset": 67108864, "speed": 0, "type": "backup"}, "event": "BLOCK… 70 --- Reference Backup #1 --- 80 {"execute": "blockdev-backup", "arguments": {"device": "drive0", "filter-node-name": "backup-top", … 82 …ref_backup_1", "len": 67108864, "offset": 67108864, "speed": 0, "type": "backup"}, "event": "BLOCK… 84 --- Test Backup #1 --- 94 …ockdev-backup", "arguments": {"auto-finalize": false, "bitmap": "bitmap0", "bitmap-mode": "never",… 109 "backup-top": [ 160 {"data": {"id": "backup_1", "type": "backup"}, "event": "BLOCK_JOB_PENDING", "timestamp": {"microse… [all …]
|
H A D | 055 | 4 # Tests for drive-backup and blockdev-backup 75 self.assert_qmp(event, 'data/type', 'backup') 78 self.do_test_cancel('drive-backup', target_img) 81 self.do_test_cancel('blockdev-backup', 'drive1') 107 'target image does not match source after backup') 110 self.do_test_pause('drive-backup', target_img, target_img) 113 self.do_test_pause('blockdev-backup', 'drive1', blockdev_target_img) 123 self.vm.cmd('blockdev-backup', job_id='job0', device='drive0', 138 result = self.vm.qmp('blockdev-backup', job_id='job0', device='drive0', 152 result = self.vm.qmp('drive-backup', device='drive2', # CD-ROM [all …]
|
H A D | 283 | 33 When performing a backup, all writes on the source subtree must go through the 39 test create an example of such configuration and checks that a backup is then 40 not allowed (blockdev-backup command should fail). 62 with other node write permission. So permission update will fail and backup job 65 Note, that the only thing which prevents backup of running on such 67 different block drivers, so backup will run in invalid configuration. But 69 preceding this test creation), starting backup on such configuration led to 96 vm.qmp_log('blockdev-backup', sync='full', device='source', target='target', 119 vm.qmp_log('blockdev-backup', 120 job_id='backup', [all …]
|
H A D | 283.out | 7 {"execute": "blockdev-backup", "arguments": {"device": "source", "job-id": "backup0", "sync": "full… 16 …dev-backup", "arguments": {"auto-dismiss": false, "auto-finalize": false, "device": "source", "fil… 18 {"execute": "job-finalize", "arguments": {"id": "backup"}} 20 {"execute": "human-monitor-command", "arguments": {"command-line": "qemu-io backup-filter \"write 0… 21 {"return": "Error: Cannot find device='' nor node-name='backup-filter'\r\n"} 22 {"execute": "job-dismiss", "arguments": {"id": "backup"}}
|
H A D | 124 | 4 # Tests for incremental drive-backup 48 return transaction_action('drive-backup', job_id=device, device=device, 60 return (self.drive['backup'], None) 85 for backup in self.backups: 86 for image in backup: 115 def add_node(self, node_id, fmt=iotests.imgfmt, path=None, backup=None): argument 118 if backup is None: 119 backup = os.path.join(iotests.test_dir, 120 '%s.full.backup.%s' % (node_id, fmt)) 125 'backup': backup, [all …]
|
H A D | 256.out | 48 "type": "blockdev-backup" 57 "type": "blockdev-backup" 65 {"data": {"device": "j0", "len": 67108864, "offset": 67108864, "speed": 0, "type": "backup"}, "even… 66 {"data": {"device": "j1", "len": 67108864, "offset": 67108864, "speed": 0, "type": "backup"}, "even… 98 "type": "blockdev-backup" 108 "type": "blockdev-backup" 116 {"data": {"device": "j2", "len": 0, "offset": 0, "speed": 0, "type": "backup"}, "event": "BLOCK_JOB… 117 {"data": {"device": "j3", "len": 0, "offset": 0, "speed": 0, "type": "backup"}, "event": "BLOCK_JOB…
|
H A D | 219.out | 94 Starting block job: drive-backup (auto-finalize: True; auto-dismiss: True) 96 …": "FILTERED", "id": "job0", "status": "running", "total-progress": "FILTERED", "type": "backup"}]} 104 …-progress": 65536, "id": "job0", "status": "paused", "total-progress": 4194304, "type": "backup"}]} 107 …rogress": 131072, "id": "job0", "status": "running", "total-progress": 4194304, "type": "backup"}]} 111 …progress": 131072, "id": "job0", "status": "paused", "total-progress": 4194304, "type": "backup"}]} 114 …rogress": 196608, "id": "job0", "status": "running", "total-progress": 4194304, "type": "backup"}]} 118 …progress": 196608, "id": "job0", "status": "paused", "total-progress": 4194304, "type": "backup"}]} 121 …rogress": 262144, "id": "job0", "status": "running", "total-progress": 4194304, "type": "backup"}]} 125 …progress": 262144, "id": "job0", "status": "paused", "total-progress": 4194304, "type": "backup"}]} 128 …rogress": 327680, "id": "job0", "status": "running", "total-progress": 4194304, "type": "backup"}]} [all …]
|
H A D | 056 | 4 # Tests for drive-backup 78 self.vm.cmd('drive-backup', device='drive0', sync='top', 86 'target image does not match source after backup') 91 self.vm.cmd('drive-backup', device='drive0', 99 self.assert_qmp(event, 'data/type', 'backup') 116 self.vm.cmd('drive-backup', device='drive0', 126 self.assert_qmp(event, 'data/type', 'backup') 150 def qmp_backup_and_wait(self, cmd='drive-backup', serror=None, 156 def qmp_backup(self, cmd='drive-backup', 173 # Backup succeeded. [all …]
|
H A D | 304 | 4 # Tests dirty-bitmap backup with unaligned bitmap granularity 46 # do backup and wait for completion 47 vm.qmp('drive-backup', **{ 60 # backup succeeded, check if image is correct
|
H A D | 257 | 190 result = vm.qmp_log('blockdev-backup', 194 filter_node_name='backup-top', 205 log("--- Reference Backup #{:d} ---\n".format(n)) 213 def backup(drive, n, filepath, sync, **kwargs): function 214 log("--- Test Backup #{:d} ---\n".format(n)) 255 Test bitmap backup routines. 267 :param msync_mode: The mirror sync mode to use for the first backup. 278 an incomplete backup. Testing limitations prevent 334 # 0 - Writes and Reference Backup 343 # 1 - Writes and Reference Backup [all …]
|
/openbmc/openpower-vpd-parser/vpd-manager/include/ |
H A D | backup_restore.hpp | 12 // Backup and restore operation status. 21 * @brief class to implement backup and restore VPD. 50 * @brief An API to backup and restore VPD. 52 * Note: This API works on the keywords declared in the backup and restore 53 * config JSON. Restore or backup action could be triggered for each 61 * Backup the source keyword value to the destination's keyword's value, 70 * @brief An API to set backup and restore status. 78 * @brief An API to update keyword's value on primary or backup path. 81 * 1. If provided i_fruPath is primary(source) path in the backup restore 82 * config JSON, then API updates VPD on the backup(destination) path. [all …]
|
/openbmc/pldm/oem/ibm/service_files/scripts/ |
H A D | create-NVRAM-file | 4 BACKUP=/var/lib/pldm/PHYP-NVRAM 22 if [ -f "$BACKUP" ]; then 23 BACKUP_SIZE=$(stat -c%s "$BACKUP") 25 echo "Backup file size valid ($BACKUP_SIZE bytes), moving to NVRAM path" 26 mv "$BACKUP" "$NVRAM" 28 echo "Backup file size invalid ($BACKUP_SIZE bytes), deleting backup" 29 rm -f "$BACKUP" 33 echo "Backup file not found, creating new NVRAM file"
|
/openbmc/qemu/docs/interop/ |
H A D | bitmaps.rst | 9 Dirty Bitmaps and Incremental Backup 14 incremental or differential backup regimens. 21 backup features to management applications, or power users who run and 126 modifying a bitmap, and happens when the bitmap is being used for a backup 276 - An incremental backup created from an empty bitmap will copy no data, as if 341 differential backup windows. 493 #. Create a full drive backup of drive0. 499 At this point, the bitmap and drive backup would be correctly in sync, and 501 the full drive backup. 511 - Create a full drive backup of ``drive0``. [all …]
|
H A D | live-block-operations.rst | 14 live block device jobs -- stream, commit, mirror, and backup. These can 121 (4) ``blockdev-backup`` (and the deprecated ``drive-backup``): 530 ``block-commit``", and 'backup') end automatically. 560 .. note:: In the case of ``blockdev-backup`` (or deprecated 561 ``drive-backup``), the behavior of ``none`` 563 ``backup`` job consists of two parts: Anything that is 565 backup, and in the background the whole image is copied 811 E.g. the sequence of actions to create a point-in-time backup of an 934 Live disk backup --- ``blockdev-backup`` and the deprecated ``drive-backup`` 937 The ``blockdev-backup`` (and the deprecated ``drive-backup``) allows [all …]
|
/openbmc/openbmc/meta-yadro/recipes-yadro/cli/ |
H A D | obmc-yadro-backup_git.bb | 1 SUMMARY = "Command line tool for backup configuration" 2 DESCRIPTION = "YADRO OpenBMC command line tool for backup and restore configuration" 3 HOMEPAGE = "https://github.com/YADRO-KNS/obmc-yadro-backup" 15 SRC_URI = "git://github.com/YADRO-KNS/obmc-yadro-backup.git;branch=master;protocol=https"
|
/openbmc/qemu/ |
H A D | blockdev.c | 1641 static BlockJob *do_backup_common(BackupCommon *backup, 1656 static void drive_backup_action(DriveBackup *backup, in drive_backup_action() argument 1677 if (!backup->has_mode) { in drive_backup_action() 1678 backup->mode = NEW_IMAGE_MODE_ABSOLUTE_PATHS; in drive_backup_action() 1681 bs = bdrv_lookup_bs(backup->device, backup->device, errp); in drive_backup_action() 1697 format = backup->format; in drive_backup_action() 1698 if (!format && backup->mode != NEW_IMAGE_MODE_EXISTING) { in drive_backup_action() 1715 if (backup->sync == MIRROR_SYNC_MODE_TOP) { in drive_backup_action() 1717 * Backup will not replace the source by the target, so none in drive_backup_action() 1724 backup->sync = MIRROR_SYNC_MODE_FULL; in drive_backup_action() [all …]
|
/openbmc/openbmc-test-automation/redfish/update_service/ |
H A D | test_firmware_inventory.robot | 180 Check Redfish Backup Image Version Is Same 181 [Documentation] Switch to backup image and then verify functional image version 221 Check If Backup Firmware Image Is Same In Firmware Inventory And Redfish Read Operation 222 [Documentation] Check the Redfish backup image firmware inventory path is same as in 227 Set Backup Firmware Image As Functional 229 Set Backup Firmware Image As Functional 285 ... Redfish managers for backup image. 311 Set Backup Firmware Image As Functional 312 [Documentation] Switch to the backup firmware image to make functional. 317 Switch Backup Firmware Image To Functional [all …]
|
/openbmc/phosphor-fan-presence/presence/ |
H A D | fallback.cpp | 36 // Starting with the first backup, find the first in stateChanged() 43 // A backup sensor disagrees with the active sensor. in stateChanged() 44 // Switch to the backup. in stateChanged() 54 lg2::info("Using backup presence sensor for fan {FAN}", "FAN", in stateChanged() 91 lg2::info("Using backup presence sensor for fan {FAN}", "FAN", in monitor()
|
/openbmc/webui-vue/src/views/Operations/Firmware/ |
H A D | FirmwareCardsBmc.vue | 18 <!-- Backup image --> 42 :disabled="isPageDisabled || !backup || !isServerOff" 50 <modal-switch-to-running :backup="backupVersion" @ok="switchToRunning" /> 100 backup() { 107 return this.backup?.version || '--'; 110 return this.backup?.status || null;
|
H A D | FirmwareCardsBios.vue | 17 <!-- Backup image --> 54 backup() { 61 return this.backup?.version || '--'; 64 return this.backup?.status || null;
|
/openbmc/openbmc/meta-ampere/meta-jade/recipes-phosphor/gpio/phosphor-gpio-monitor/ |
H A D | ampere_scp_failover.sh | 13 I2C_BACKUP_SEL=$(gpioget $(gpiofind i2c-backup-sel)) 18 gpioset $(gpiofind i2c-backup-sel)=0 27 gpioset $(gpiofind i2c-backup-sel)=1
|
/openbmc/qemu/qapi/ |
H A D | transaction.json | 60 # @blockdev-backup: Since 2.3 68 # @drive-backup: Since 1.6 72 # @deprecated: Member `drive-backup` is deprecated. Use member 73 # `blockdev-backup` instead. 81 'blockdev-backup', 'blockdev-snapshot', 83 { 'name': 'drive-backup', 'features': [ 'deprecated' ] } ] } 178 'blockdev-backup': 'BlockdevBackupWrapper', 182 'drive-backup': 'DriveBackupWrapper'
|
/openbmc/openbmc/meta-ampere/meta-jade/recipes-ampere/platform/ampere-platform-init/ |
H A D | mtjade_platform_gpios_init.sh | 17 "i2c-backup-sel" 28 "spi0-backup-sel" 47 "spi0-backup-sel"
|
/openbmc/openpower-vpd-parser/vpd-manager/src/ |
H A D | backup_restore.cpp | 45 logging::logMessage("Backup and restore invoked already."); in backupAndRestore() 59 … "Backup restore config JSON is missing necessary tag(s), can't initiate backup and restore."); in backupAndRestore() 78 "Couldn't extract source path, can't initiate backup and restore."); in backupAndRestore() 97 "Couldn't extract destination path, can't initiate backup and restore."); in backupAndRestore() 101 // Implement backup and restore for IPZ type VPD in backupAndRestore() 153 "Invalid value found for tag backupMap, in backup and restore config JSON."); in backupAndRestoreIpzVpd() 260 "Record or keyword not found in the backup and restore config JSON."); in backupAndRestoreIpzVpd() 294 " from backup and restore config JSON file."); in backupAndRestoreIpzVpd() 366 // ToDo: Handle if there is no valid default value in the backup and in backupAndRestoreIpzVpd() 493 // backup&restore JSON or source and destination paths are not hardware in updateKeywordOnPrimaryOrBackupPath() [all …]
|
/openbmc/openpower-vpd-parser/docs/ |
H A D | backup-restore-config-json.md | 1 # Backup and Restore Config 3 ## TODO: Add description about structure of backup and restore config json
|