tests/q35-test: add TSEG size checks
commite691ef69911a08bf007c3ef1412f9232b0102fb1
authorLaszlo Ersek <lersek@redhat.com>
Fri, 16 Jun 2017 11:22:01 +0000 (16 13:22 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 16 Jun 2017 15:44:55 +0000 (16 18:44 +0300)
treee32d45f059ab0c7769aa2ebbc03a3c78ce9e9d19
parent8bbf4aa96efb6007b82199fbc19b3173504bfd48
tests/q35-test: add TSEG size checks

These checks verify that the guest RAM turns from read-write to
"blackhole" when crossing the low boundary of the TSEG. Both the standard
1MB/2MB/8MB TSEG sizes and an extended (16MB) TSEG size are tested.

Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tests/q35-test.c