aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2019-12-18 13:54:54 -0800
committerPaolo Bonzini <[email protected]>2020-01-24 09:18:57 +0100
commitd813a8ba54f94fd6a0276230bdf53c97b36c2101 (patch)
tree399247f4498f6264587d0e2497d17105f0271407 /scripts/gdb/linux/utils.py
parentfc6e2a1845abfcfa335aef5ffaac664e104d72ca (diff)
KVM: x86: Move allocation of pio_data page down a few lines
Allocate the pio_data page after creating the MMU and local APIC so that all direct memory allocations are grouped together. This allows setting the return value to -ENOMEM prior to starting the allocations instead of setting it in the fail path for every allocation. The pio_data page is only consumed when KVM_RUN is invoked, i.e. moving its allocation has no real functional impact. Signed-off-by: Sean Christopherson <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions