Skip to content

Unknown protocol 'openvstorage' #8

@yongshengma

Description

@yongshengma

Hello,

I cloned and compiled this project in spite of a warning:

  CC    vl.o
vl.c: In function ‘main’:
vl.c:2778:5: warning: ‘g_mem_set_vtable’ is deprecated [-Wdeprecated-declarations]
     g_mem_set_vtable(&mem_trace);
     ^
In file included from /usr/include/glib-2.0/glib/glist.h:32:0,
                 from /usr/include/glib-2.0/glib/ghash.h:33,
                 from /usr/include/glib-2.0/glib.h:50,
                 from vl.c:59:
/usr/include/glib-2.0/glib/gmem.h:357:7: note: declared here
 void  g_mem_set_vtable (GMemVTable *vtable);
       ^
  CC    tpm.o

and an issue in make install:

install: cannot stat '/root/qemu/pc-bios/bios.bin': No such file or directory
install: cannot stat '/root/qemu/pc-bios/bios-256k.bin': No such file or directory
install: cannot stat '/root/qemu/pc-bios/sgabios.bin': No such file or directory
install: cannot stat '/root/qemu/pc-bios/vgabios.bin': No such file or directory
install: cannot stat '/root/qemu/pc-bios/vgabios-cirrus.bin': No such file or directory
install: cannot stat '/root/qemu/pc-bios/vgabios-stdvga.bin': No such file or directory
install: cannot stat '/root/qemu/pc-bios/vgabios-vmware.bin': No such file or directory
install: cannot stat '/root/qemu/pc-bios/vgabios-qxl.bin': No such file or directory
install: cannot stat '/root/qemu/pc-bios/acpi-dsdt.aml': No such file or directory
install: cannot stat '/root/qemu/pc-bios/q35-acpi-dsdt.aml': No such file or directory
install: cannot stat '/root/qemu/pc-bios/ppc_rom.bin': No such file or directory
install: cannot stat '/root/qemu/pc-bios/openbios-sparc32': No such file or directory
install: cannot stat '/root/qemu/pc-bios/openbios-sparc64': No such file or directory
install: cannot stat '/root/qemu/pc-bios/openbios-ppc': No such file or directory
install: cannot stat '/root/qemu/pc-bios/QEMU,tcx.bin': No such file or directory
install: cannot stat '/root/qemu/pc-bios/QEMU,cgthree.bin': No such file or directory
install: cannot stat '/root/qemu/pc-bios/pxe-e1000.rom': No such file or directory
install: cannot stat '/root/qemu/pc-bios/pxe-eepro100.rom': No such file or directory
install: cannot stat '/root/qemu/pc-bios/pxe-ne2k_pci.rom': No such file or directory
install: cannot stat '/root/qemu/pc-bios/pxe-pcnet.rom': No such file or directory
install: cannot stat '/root/qemu/pc-bios/pxe-rtl8139.rom': No such file or directory
install: cannot stat '/root/qemu/pc-bios/pxe-virtio.rom': No such file or directory
install: cannot stat '/root/qemu/pc-bios/efi-e1000.rom': No such file or directory
install: cannot stat '/root/qemu/pc-bios/efi-eepro100.rom': No such file or directory
install: cannot stat '/root/qemu/pc-bios/efi-ne2k_pci.rom': No such file or directory
install: cannot stat '/root/qemu/pc-bios/efi-pcnet.rom': No such file or directory
install: cannot stat '/root/qemu/pc-bios/efi-rtl8139.rom': No such file or directory
install: cannot stat '/root/qemu/pc-bios/efi-virtio.rom': No such file or directory
install: cannot stat '/root/qemu/pc-bios/bamboo.dtb': No such file or directory
install: cannot stat '/root/qemu/pc-bios/multiboot.bin': No such file or directory
install: cannot stat '/root/qemu/pc-bios/linuxboot.bin': No such file or directory
install: cannot stat '/root/qemu/pc-bios/kvmvapic.bin': No such file or directory
install: cannot stat '/root/qemu/pc-bios/s390-zipl.rom': No such file or directory
install: cannot stat '/root/qemu/pc-bios/s390-ccw.img': No such file or directory
install: cannot stat '/root/qemu/pc-bios/spapr-rtas.bin': No such file or directory
install: cannot stat '/root/qemu/pc-bios/slof.bin': No such file or directory
install: cannot stat '/root/qemu/pc-bios/palcode-clipper': No such file or directory
install: cannot stat '/root/qemu/pc-bios/u-boot.e500': No such file or directory
Makefile:400: recipe for target 'install' failed
make: *** [install] Error 1
qem

I commented them in install part of Makefile as these files do not exist at all. Continue.

Convert a qcow2 image into vdisk:
qemu-img convert cirrus.qcow2 openvstorage+tcp:192.168.20.32:26203/cirrus
It works fine. Go to next.

Start VM:

root@Node-32:~# /usr/local/bin/qemu-system-x86_64 -drive file=openvstorage:cirrus,if=virtio,cache=none,format=raw

(process:26408): GLib-WARNING **: /build/glib2.0-7ZsPUq/glib2.0-2.48.2/./glib/gmem.c:483: custom memory allocation vtable not supported
qemu-system-x86_64: -drive file=openvstorage:cirrus,if=virtio,cache=none,format=raw: Unknown protocol 'openvstorage'

Do I miss something?

Best regards,
Yongsheng

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions