OSDN Git Service

balloon: Don't balloon roms
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Fri, 16 Dec 2016 11:41:55 +0000 (11:41 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 10 Jan 2017 05:02:52 +0000 (07:02 +0200)
commitf2fd57db363e465653efa55102104039b5516759
tree81070d705842c2c478518a0c97b898d7e1a20759
parente66bcc408146730958d1a840bda85d7ad51e0cd7
balloon: Don't balloon roms

A broken guest can specify physical addresses that correspond
to any memory region, but it shouldn't be able to change ROM.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Cc: qemu-stable@nongnu.org
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/trace-events
hw/virtio/virtio-balloon.c