Bug 1314250
Summary: | System crashed when mirroring to itself | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | jingzhao <jinzhao> |
Component: | qemu-kvm-rhev | Assignee: | John Snow <jsnow> |
Status: | CLOSED NOTABUG | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 7.2 | CC: | chayang, huding, juzhang, knoel, kwolf, virt-maint, xfu |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-05-27 20:26:29 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
jingzhao
2016-03-03 09:47:40 UTC
Kevin, I *think* this is not currently possible to check (if a filename is already opened within QEMU) without some future work from you and Fam, right? I'm leaning towards postponing this to some future date -- it'd be nice to guard against it, but you can't guard against everything... --js Yes, I think it's a case of "then don't do that". Or in other words NOTABUG. Even in the future, we won't be able to tell whether two paths refer to the same image. We could in theory check a few obvious cases like exactly the same filename, but it already gets tricky with links. And as soon as a network protocol is involved, you can't tell anything any more. So telling the user to be careful is probably the most consistent solution. And there we have it. This is not possible to consistently guard against now or even in the future, so "please don't do that." Thanks jingzhao and Kevin. |