summaryrefslogtreecommitdiff
path: root/src/lxc_protocol-structs
diff options
context:
space:
mode:
authorJiri Denemark <jdenemar@redhat.com>2022-12-07 14:46:25 +0100
committerJiri Denemark <jdenemar@redhat.com>2023-01-06 16:17:38 +0100
commitb92cba67c67551139e5421d97a66620e836a0523 (patch)
tree24a3037bfa63a06c73aa9ebde0062b98430eb3f7 /src/lxc_protocol-structs
parent608c4b249e8b683b311d8b0205f23fdd6082d06a (diff)
downloadlibvirt-b92cba67c67551139e5421d97a66620e836a0523.tar.gz
conf: Drop virDomainJobOperation parameter from virDomainObjIsPostcopy
The parameter was only used to select which states correspond to an active or failed post-copy migration. But these states are either applicable to both operations or the check would just paper over a code bug in case of an impossible combination of state and operation. By dropping the check we can make the code simpler and also reuse existing virDomainObjIsFailedPostcopy function and only check for active post-copy states. Signed-off-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Diffstat (limited to 'src/lxc_protocol-structs')
0 files changed, 0 insertions, 0 deletions