[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] mask specific partition from guest
From: |
ching |
Subject: |
[Qemu-devel] mask specific partition from guest |
Date: |
Thu, 08 Nov 2012 06:19:13 +0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.10) Gecko/20121105 Thunderbird/10.0.10 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] mask specific partition from guest,
ching <=