* [Qemu-devel] mask specific partition from guest
@ 2012-11-07 22:19 ching
0 siblings, 0 replies; only message in thread
From: ching @ 2012-11-07 22:19 UTC (permalink / raw)
To: qemu-devel
Hi all,
I am trying to boot a real Linux OS inside qemu.
The OS resides on a real disk with a partition layout:
1. data
2. os
3. data
Partiton 1 is being used by the host and i would like to hide it from guest.
In virtualbox/vmware, this can be done by creating a vmdk file marking corresponding extent as "ZERO" and it will ignores all writes.
e.g.
version=1
encoding="UTF-8"
CID=0510e33b
parentCID=ffffffff
isNativeSnapshot="no"
createType="partitionedDevice"
RW 34 FLAT "header" 0
RW 2014 ZERO
RW 204800 ZERO
RW 262144 ZERO
RW 125364224 ZERO
RW 1124425728 FLAT "/dev/sdc" 125833216
...
How can this be done in qemu/kvm?
ching
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-11-07 22:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-07 22:19 [Qemu-devel] mask specific partition from guest ching
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).