[kvm-devel] [PATCH] Memory Based Block Device

2007-07-25 Thread Evan Felix
the code to allocate the memory used twice, even though it only gets used the second time. - using qemu_mallocz seems to pre-allocate all the memory used, which is fine, but my early code with calloc only allocated what blocks were actually used. Does this bother people. Evan Felix diff -urNp -

Re: [kvm-devel] [PATCH] Memory Based Block Device

2007-07-25 Thread Evan Felix
Liguori <[EMAIL PROTECTED]> wrote: > Evan Felix wrote: > > Folks here is a patch i've made for qemu that adds a memory based > > block device, it utilizes memory on the Host side to emulate a block > > device. > > > > I often use -hda /dev/null fo