commit | 2065b3727ecdb64450597d70f7e13af00b85dbd8 | [log] [tgz] |
---|---|---|
author | Izik Eidus <izike@qumranet.com> | Tue Nov 20 11:30:04 2007 +0200 |
committer | Avi Kivity <avi@qumranet.com> | Wed Jan 30 17:53:08 2008 +0200 |
tree | cbfcc78359c7738ee748569bbc6eec39f17a8784 | |
parent | 2d2a7b9cff7f6324e69daa3ab76799641a94a0e8 [diff] |
KVM: MMU: Fix potential memory leak with smp real-mode When we map a page, we check whether some other vcpu mapped it for us and if so, bail out. But we should decrease the refcount on the page as we do so. Signed-off-by: Izik Eidus <izike@qumranet.com> Signed-off-by: Avi Kivity <avi@qumranet.com>