Diff for /wikisrc/kernel_debugging_with_qemu.mdwn between versions 1.3 and 1.4

version 1.3, 2010/07/14 23:44:13 version 1.4, 2011/03/31 09:00:49
Line 14  This tutorial show the different steps r Line 14  This tutorial show the different steps r
 To start our VM, we need some disk space to provide an emulated hard drive. For QEMU, by default, this is done through raw disk images. Therefore, the first step will be the creation of a disk image file. Here, we create a 2GB file, filled with zeros:  To start our VM, we need some disk space to provide an emulated hard drive. For QEMU, by default, this is done through raw disk images. Therefore, the first step will be the creation of a disk image file. Here, we create a 2GB file, filled with zeros:
   
 [[!template  id=programlisting text="""  [[!template  id=programlisting text="""
 $ dd if=/dev/null of=netbsd-guest.img bs=1m count=2000  $ dd if=/dev/zero of=netbsd-guest.img bs=1m count=2000
 """]]  """]]
   
 /!\ if you want to mount the file image from within the host later through [[!template id=man name="vnconfig" section="8"]], it is recommended to use [[!template id=man name="dd" section="1"]] and not the *qemu-img* tool, as [[!template id=man name="vnd" section="4"]] does not support sparse disk image yet.  /!\ if you want to mount the file image from within the host later through [[!template id=man name="vnconfig" section="8"]], it is recommended to use [[!template id=man name="dd" section="1"]] and not the *qemu-img* tool, as [[!template id=man name="vnd" section="4"]] does not support sparse disk image yet.

Removed from v.1.3  
changed lines
  Added in v.1.4


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb