Skip to contentSkip to conversation

qemu -hda /dev/null

DISCUSSION Warren Togami 2 participants 2 messages Jun 18, 2009 – Jun 19, 2009 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

# 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
[email protected]
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
In reply to a message not in the archive
Quoted 11 lines · Warren Togami

# 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html