KVM: guest_memfd: Add a guest_memfd() flag to initialize it as shared

Not all use cases require guest_memfd() to be shared with the host when
first created. Add a new flag, GUEST_MEMFD_FLAG_INIT_SHARED, which when
set on KVM_CREATE_GUEST_MEMFD initializes the memory as shared with the
host, and therefore mappable by it. Otherwise, memory is private until
explicitly shared by the guest with the host.

Change-Id: I713ee8c5d9cbd0bdb783052d1fe58af2c1e6b7ac
Signed-off-by: Fuad Tabba <tabba@google.com>
4 files changed