All of lore.kernel.org
 help / color / mirror / Atom feed
* qemu -hda /dev/null
@ 2009-06-18 19:09 Warren Togami
       [not found] ` <4A3A90CC.7070309-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Warren Togami @ 2009-06-18 19:09 UTC (permalink / raw)
  To: initramfs

     # Need this so kvm-qemu will boot (needs non-/dev/zero local disk)
     if ! dd if=/dev/zero of=client.img bs=1M count=1; then
         echo "Unable to make client sda image" 1>&2
         return 1
     fi

     $testdir/run-qemu -hda client.img -m 128M -nographic \

Technically this isn't true.  You can use -hda /dev/null and it will 
boot just fine.  But I guess we need that disk as a means to pass the 
nfs-OK messages?

Warren Togami
wtogami-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: qemu -hda /dev/null
       [not found] ` <4A3A90CC.7070309-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2009-06-19  2:57   ` David Dillow
  0 siblings, 0 replies; 2+ messages in thread
From: David Dillow @ 2009-06-19  2:57 UTC (permalink / raw)
  To: Warren Togami; +Cc: initramfs

On Thu, 2009-06-18 at 15:09 -0400, Warren Togami wrote:
> # Need this so kvm-qemu will boot (needs non-/dev/zero local disk)
>      if ! dd if=/dev/zero of=client.img bs=1M count=1; then
>          echo "Unable to make client sda image" 1>&2
>          return 1
>      fi
> 
>      $testdir/run-qemu -hda client.img -m 128M -nographic \
> 
> Technically this isn't true.  You can use -hda /dev/null and it will 
> boot just fine.  But I guess we need that disk as a means to pass the 
> nfs-OK messages?

We need the disk as means for that, yes, but qemu-kvm would not boot
with -hda /dev/null IIRC, at least in the configuration I was using.
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-19  2:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-18 19:09 qemu -hda /dev/null Warren Togami
     [not found] ` <4A3A90CC.7070309-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-06-19  2:57   ` David Dillow

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.