Skip to contentSkip to conversation

qemu-kvm-0.12.1

ANNOUNCE Avi Kivity 7 participants 17 messages Dec 20, 2009 – Dec 21, 2009 KVM

lore
Share & tools
lore

Avi Kivity

author
#0 lore raw

qemu-kvm-0.12.1 is now available. This release is is based on the upstream qemu 0.12.1, plus kvm-specific enhancements. Please see the original qemu 0.12.1 release announcement for details.

This release can be used with the kvm kernel modules provided by your distribution kernel, or by the modules in the kvm-kmod package, such as kvm-kmod-2.6.32.

Changes from qemu-kvm-0.11.1
- merge qemu 0.12.1
- many changes, including:
- s390 support
- live migration: support migration with non shared storage
- live migration: make save/restore data driven (VMState)
- monitor: introduce machine-protocol (QMP)
- qdev: convert many devices, support reading config from file
- pci: infrastructure to support 64-bit busses
- net: introduce -netdev to support point-to-point networking
- net: add support for GSO and checksum offload
- tons of bug fixes throughout the code base
- many kvm-specific bug fixes

http://www.linux-kvm.org

Signature · 1 line
error compiling committee.c: too many arguments to function
#1 lore raw

Hi Avi,
I just tried compiling and the same problem I've reported minutes ago:
gcc -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/slirp -m64 -Wold-style-definition -I. -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1 -U_FORTIFY_SOURCE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DHAS_AUDIO -DHAS_AUDIO_CHOICE -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/fpu -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/tcg -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/tcg/x86_64 -I.. -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/target-mips -DNEED_CPU_H -O2 -g -Wl,--warn-common -m64 -g -o qemu-system-mipsel vl.o async.o monitor.o pci.o pci_host.o pcie_host.o machine.o gdbstub.o virtio
-blk.o virtio-balloon.o virtio-net.o virtio-console.o virtio-pci.o msix.o isa_mmio.o eepro100.o pcnet.o rtl8139.o e1000.o mips_r4k.o mips_jazz.o mips_malta.o mips_mipssim.o mips_timer.o mips_int.o dma.o vga.o serial.o i8254.o i8259.o rc4030.o vga-pci.o vga-isa.o vga-isa-mm.o g364fb.o jazz_led.o dp8393x.o ide/core.o ide/qdev.o ide/isa.o ide/pci.o ide/piix.o gt64xxx.o pckbd.o fdc.o mc146818rtc.o usb-uhci.o acpi.o ds1225y.o piix4.o parallel.o cirrus_vga.o pcspk.o sb16.o es1370.o ac97.o mipsnet.o ne2000-isa.o pflash_cfi01.o vmware_vga.o -Wl,--whole-archive ../libqemu_common.a libqemu.a ../libhw64/libqemuhw64.a -Wl,--no-whole-archive -lrt -lpthread -lutil -lpci -lz -lbluetooth -L/usr/kerberos/lib64 -lcurl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz -lncurses
-lasound -luuid -lsasl2 -lgnutls -L/usr/lib64 -lSDL -lpthread -lX11 -lm -lz
monitor.o: In function `mon_get_cpu':
/usr/src/redhat/BUILD/qemu-kvm-0.12.1/monitor.c:680: undefined reference to kvm_save_mpstate' monitor.o: In function do_info_cpus':
/usr/src/redhat/BUILD/qemu-kvm-0.12.1/monitor.c:783: undefined reference to `kvm_save_mpstate'
collect2: ld returned 1 exit status
make[1]: *** [qemu-system-mips] Error 1
make[1]: Leaving directory `/home/src/redhat/BUILD/qemu-kvm-0.12.1/mips-softmmu'
make: *** [subdir-mips-softmmu] Error 2
monitor.o: In function `mon_get_cpu':
/usr/src/redhat/BUILD/qemu-kvm-0.12.1/monitor.c:680: undefined reference to kvm_save_mpstate' monitor.o: In function do_info_cpus':
/usr/src/redhat/BUILD/qemu-kvm-0.12.1/monitor.c:783: undefined reference to `kvm_save_mpstate'
collect2: ld returned 1 exit status
make[1]: *** [qemu-system-mips64] Error 1
make[1]: Leaving directory `/home/src/redhat/BUILD/qemu-kvm-0.12.1/mips64-softmmu'
make: *** [subdir-mips64-softmmu] Error 2
monitor.o: In function `mon_get_cpu':
/usr/src/redhat/BUILD/qemu-kvm-0.12.1/monitor.c:680: undefined reference to kvm_save_mpstate' monitor.o: In function do_info_cpus':
/usr/src/redhat/BUILD/qemu-kvm-0.12.1/monitor.c:783: undefined reference to `kvm_save_mpstate'
collect2: ld returned 1 exit status
make[1]: *** [qemu-system-mipsel] Error 1
make[1]: Leaving directory `/home/src/redhat/BUILD/qemu-kvm-0.12.1/mipsel-softmmu'
make: *** [subdir-mipsel-softmmu] Error 2
monitor.o: In function `mon_get_cpu':
/usr/src/redhat/BUILD/qemu-kvm-0.12.1/monitor.c:680: undefined reference to kvm_save_mpstate' monitor.o: In function do_info_cpus':
/usr/src/redhat/BUILD/qemu-kvm-0.12.1/monitor.c:783: undefined reference to `kvm_save_mpstate'
collect2: ld returned 1 exit status
make[1]: *** [qemu-system-arm] Error 1
make[1]: Leaving directory `/home/src/redhat/BUILD/qemu-kvm-0.12.1/arm-softmmu'
make: *** [subdir-arm-softmmu] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.44062 (%build)
regards
nik

Quoted 32 lines · Avi Kivity

qemu-kvm-0.12.1 is now available. This release is is based on the upstream qemu 0.12.1, plus kvm-specific enhancements. Please see the original qemu 0.12.1 release announcement for details.

This release can be used with the kvm kernel modules provided by your distribution kernel, or by the modules in the kvm-kmod package, such as kvm-kmod-2.6.32.

Changes from qemu-kvm-0.11.1
- merge qemu 0.12.1
- many changes, including:
- s390 support
- live migration: support migration with non shared storage
- live migration: make save/restore data driven (VMState)
- monitor: introduce machine-protocol (QMP)
- qdev: convert many devices, support reading config from file
- pci: infrastructure to support 64-bit busses
- net: introduce -netdev to support point-to-point networking
- net: add support for GSO and checksum offload
- tons of bug fixes throughout the code base
- many kvm-specific bug fixes

http://www.linux-kvm.org

Signature · 6 lines
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Signature · 14 lines
-------------------------------------
Nikola CIPRICH
LinuxBox.cz, s.r.o.
28. rijna 168, 709 01 Ostrava

tel.:   +420 596 603 142
fax:    +420 596 621 273
mobil:  +420 777 093 799

www.linuxbox.cz

mobil servis: +420 737 238 656
email servis: [email protected]
-------------------------------------
#2 lore raw
Quoted 3 lines · Nikola Ciprich

Hi Avi,
I just tried compiling and the same problem I've reported minutes ago:
gcc -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/slirp -m64 -Wold-style-definition -I. -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1 -U_FORTIFY_SOURCE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DHAS_AUDIO -DHAS_AUDIO_CHOICE -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/fpu -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/tcg -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/tcg/x86_64 -I.. -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/target-mips

You really shouldn't be building qemu-kvm with the mips target :-).

./configure without parameters should give you a sane target list, please use that one.

Alex

#3 lore raw

Hi Alex,
well, I see, I based my rpm on latest fedora spec and it builds all targets by default. But using just plain configure doesn't help either, as others already reported in the meantime, seems like (default) x86_64-softmmu target is broken as well:

gcc -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/slirp -m64 -Wold-style-definition -I. -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1 -U_FORTIFY_SOURCE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DHAS_AUDIO -DHAS_AUDIO_CHOICE -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/fpu -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/tcg -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/tcg/x86_64 -I.. -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/target-i386 -DNEED_CPU_H -O2 -g -Wl,--warn-common -m64 -g -o qemu-system-x86_64 vl.o async.o monitor.o pci.o pci_host.o pcie_host.o machine.o gdbstub.o virtio
-blk.o virtio-balloon.o virtio-net.o virtio-console.o virtio-pci.o msix.o eepro100.o pcnet.o rtl8139.o e1000.o ide/core.o ide/qdev.o ide/isa.o ide/pci.o ide/piix.o pckbd.o sb16.o es1370.o ac97.o dma.o vga.o vga-pci.o vga-isa.o fdc.o mc146818rtc.o serial.o i8259.o i8254.o pcspk.o pc.o cirrus_vga.o apic.o ioapic.o parallel.o acpi.o piix_pci.o usb-uhci.o vmmouse.o vmport.o vmware_vga.o hpet.o device-hotplug.o pci-hotplug.o smbios.o wdt_ib700.o extboot.o ne2000-isa.o testdev.o -Wl,--whole-archive ../libqemu_common.a libqemu.a ../libhw64/libqemuhw64.a -Wl,--no-whole-archive -lrt -lpthread -lutil -lpci -lz -lbluetooth -L/usr/kerberos/lib64 -lcurl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz -lncurses -lasound -luuid -lsasl2 -lgnutls -L/usr/lib64 -lSDL -lpthr
ead -lX11 -lm -lz
monitor.o: In function `mon_get_cpu':
/usr/src/redhat/BUILD/qemu-kvm-0.12.1/monitor.c:680: undefined reference to kvm_save_mpstate' monitor.o: In function do_info_cpus':
/usr/src/redhat/BUILD/qemu-kvm-0.12.1/monitor.c:783: undefined reference to kvm_save_mpstate' machine.o: In function cpu_pre_save':
/usr/src/redhat/BUILD/qemu-kvm-0.12.1/target-i386/machine.c:326: undefined reference to `kvm_save_mpstate'
collect2: ld returned 1 exit status
make[1]: *** [qemu-system-x86_64] Error 1
make[1]: Leaving directory `/home/src/redhat/BUILD/qemu-kvm-0.12.1/x86_64-softmmu'
make: *** [subdir-x86_64-softmmu] Error 2

Quoted 16 lines · Alexander Graf
Quoted 3 lines · Nikola Ciprich

Hi Avi,
I just tried compiling and the same problem I've reported minutes ago:
gcc -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/slirp -m64 -Wold-style-definition -I. -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1 -U_FORTIFY_SOURCE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DHAS_AUDIO -DHAS_AUDIO_CHOICE -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/fpu -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/tcg -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/tcg/x86_64 -I.. -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/target-mips

You really shouldn't be building qemu-kvm with the mips target :-).

./configure without parameters should give you a sane target list, please use that one.

Alex--
To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 13 lines
-------------------------------------
Ing. Nikola CIPRICH
LinuxBox.cz, s.r.o.
28. rijna 168, 709 01 Ostrava

tel.:   +420 596 603 142
fax:    +420 596 621 273
mobil:  +420 777 093 799
www.linuxbox.cz

mobil servis: +420 737 238 656
email servis: [email protected]
-------------------------------------
#7 lore raw
In reply to Avi Kivity

Hi,

after upgrading from qemu-kvm-0.12.0-rc2 to qemu-kvm-0.12.1 I cannot start my Windows 7 (64Bit) VM any more. I get the following error on start-up:

rom: requested regions overlap (rom vapic.bin. free=0x0000000000000600, addr=0x0000000000000000)
rom loading failed

I used to run it with this command line:

qemu-system-x86_64 -k de -enable-kvm -usb -drive file=/home/ingmar/kvm/windows7.qcow2,if=ide,boot=on,cache=none -net nic,macaddr=DE:AD:BE:EF:28:26,vlan=1,model=e1000 -net tap,script=/etc/kvm/qemu-ifup,vlan=1 -m 1024 -vnc :3 -boot c

Any idea what is wrong here? It worked fine with all previous qemu-kvm versions.

Thanks and regards,

Ingmar

Quoted 24 lines · Avi Kivity

qemu-kvm-0.12.1 is now available. This release is is based on the upstream qemu 0.12.1, plus kvm-specific enhancements. Please see the original qemu 0.12.1 release announcement for details.

This release can be used with the kvm kernel modules provided by your distribution kernel, or by the modules in the kvm-kmod package, such as kvm-kmod-2.6.32.

Changes from qemu-kvm-0.11.1
- merge qemu 0.12.1
- many changes, including:
- s390 support
- live migration: support migration with non shared storage
- live migration: make save/restore data driven (VMState)
- monitor: introduce machine-protocol (QMP)
- qdev: convert many devices, support reading config from file
- pci: infrastructure to support 64-bit busses
- net: introduce -netdev to support point-to-point networking
- net: add support for GSO and checksum offload
- tons of bug fixes throughout the code base
- many kvm-specific bug fixes

http://www.linux-kvm.org

#8 lore raw

Apparently it doesn't matter what type of VM (Windows or Linux) you start, the same problem happens.

For the time being, I reverted back to qemu-kvm-0.12.0-rc2

But of course I would like to move forward to the new version. So any suggestions are welcome.

Thanks, Ingmar

Quoted 54 lines · Ingmar Schraub

Hi,

after upgrading from qemu-kvm-0.12.0-rc2 to qemu-kvm-0.12.1 I cannot start my Windows 7 (64Bit) VM any more. I get the following error on start-up:

rom: requested regions overlap (rom vapic.bin. free=0x0000000000000600, addr=0x0000000000000000)
rom loading failed

I used to run it with this command line:

qemu-system-x86_64 -k de -enable-kvm -usb -drive file=/home/ingmar/kvm/windows7.qcow2,if=ide,boot=on,cache=none -net nic,macaddr=DE:AD:BE:EF:28:26,vlan=1,model=e1000 -net tap,script=/etc/kvm/qemu-ifup,vlan=1 -m 1024 -vnc :3 -boot c

Any idea what is wrong here? It worked fine with all previous qemu-kvm versions.

Thanks and regards,

Ingmar

Quoted 22 lines · Avi Kivity

qemu-kvm-0.12.1 is now available. This release is is based on the upstream qemu 0.12.1, plus kvm-specific enhancements. Please see the original qemu 0.12.1 release announcement for details.

This release can be used with the kvm kernel modules provided by your distribution kernel, or by the modules in the kvm-kmod package, such as kvm-kmod-2.6.32.

Changes from qemu-kvm-0.11.1
- merge qemu 0.12.1
- many changes, including:
- s390 support
- live migration: support migration with non shared storage
- live migration: make save/restore data driven (VMState)
- monitor: introduce machine-protocol (QMP)
- qdev: convert many devices, support reading config from file
- pci: infrastructure to support 64-bit busses
- net: introduce -netdev to support point-to-point networking
- net: add support for GSO and checksum offload
- tons of bug fixes throughout the code base
- many kvm-specific bug fixes

Quoted 2 lines

http://www.linux-kvm.org

--
To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#9 lore raw
In reply to Ingmar Schraub

Am Mon, 21 Dec 2009 09:14:13 +0100 schrieb Ingmar Schraub:

Quoted 12 lines

Hi,

after upgrading from qemu-kvm-0.12.0-rc2 to qemu-kvm-0.12.1 I cannot start my Windows 7 (64Bit) VM any more. I get the following error on start-up:

rom: requested regions overlap (rom vapic.bin. free=0x0000000000000600, addr=0x0000000000000000)
rom loading failed

I used to run it with this command line:

Quoted 7 lines

qemu-system-x86_64 -k de -enable-kvm -usb -drive file=/home/ingmar/kvm/windows7.qcow2,if=ide,boot=on,cache=none -net nic,macaddr=DE:AD:BE:EF:28:26,vlan=1,model=e1000 -net tap,script=/etc/kvm/qemu-ifup,vlan=1 -m 1024 -vnc :3 -boot c

Any idea what is wrong here? It worked fine with all previous qemu-kvm versions.

remove "boot=on" from -drive and set "-boot order=c" instead of "-boot c"

is boot=on in "-drive" no longer supported or is this a bug?

- Thomas

#10 lore raw
Quoted 19 lines · Thomas Mueller

Am Mon, 21 Dec 2009 09:14:13 +0100 schrieb Ingmar Schraub:

Quoted 17 lines

Hi,

after upgrading from qemu-kvm-0.12.0-rc2 to qemu-kvm-0.12.1 I cannot start my Windows 7 (64Bit) VM any more. I get the following error on start-up:

rom: requested regions overlap (rom vapic.bin. free=0x0000000000000600, addr=0x0000000000000000)
rom loading failed

I used to run it with this command line:

qemu-system-x86_64 -k de -enable-kvm -usb -drive file=/home/ingmar/kvm/windows7.qcow2,if=ide,boot=on,cache=none -net nic,macaddr=DE:AD:BE:EF:28:26,vlan=1,model=e1000 -net tap,script=/etc/kvm/qemu-ifup,vlan=1 -m 1024 -vnc :3 -boot c

Quoted 8 lines
Quoted 2 lines

Any idea what is wrong here? It worked fine with all previous qemu-kvm versions.

remove "boot=on" from -drive and set "-boot order=c" instead of "-boot c"

is boot=on in "-drive" no longer supported or is this a bug?

- Thomas

Interesting! That works. But how can it be that 'boot=on' in "-drive" can cause such a failure? If a command line option would have been deprecated, I would rather expect to see a command-line parsing error.

Looks more like a bug to me:

-drive [file=file][,if=type][,bus=n][,unit=m][,media=d][,index=i]

       [,cyls=c,heads=h,secs=s[,trans=t]][,snapshot=on|off]
       [,cache=writethrough|writeback|none][,format=f][,serial=s]
       [,addr=A][,id=name][,aio=threads|native]
       [,boot=on|off]

At least the help text still shows this option and it was working with qemu-kvm-0.12.0-rc2

Ingmar

author
#4 lore raw
In reply to Nikola Ciprich
Quoted 7 lines · Nikola Ciprich

Hi Alex,
well, I see, I based my rpm on latest fedora spec and it builds all targets by default. But using just plain configure doesn't help either, as others already reported in the meantime, seems like (default) x86_64-softmmu target is broken as well:

gcc -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/slirp -m64 -Wold-style-definition -I. -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1 -U_FORTIFY_SOURCE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DHAS_AUDIO -DHAS_AUDIO_CHOICE -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/fpu -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/tcg -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/tcg/x86_64 -I.. -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/target-i386 -DNEED_CPU_H -O2 -g -Wl,--warn-common -m64 -g -o qemu-system-x86_64 vl.o async.o monitor.o pci.o pci_host.o pcie_host.o machine.o gdbstub.o virt

io-blk.o virtio-balloon.o virtio-net.o virtio-console.o virtio-pci.o msix.o eepro100.o pcnet.o rtl8139.o e1000.o ide/core.o ide/qdev.o ide/isa.o ide/pci.o ide/piix.o pckbd.o sb16.o es1370.o ac97.o dma.o vga.o vga-pci.o vga-isa.o fdc.o mc146818rtc.o serial.o i8259.o i8254.o pcspk.o pc.o cirrus_vga.o apic.o ioapic.o parallel.o acpi.o piix_pci.o usb-uhci.o vmmouse.o vmport.o vmware_vga.o hpet.o device-hotplug.o pci-hotplug.o smbios.o wdt_ib700.o extboot.o ne2000-isa.o testdev.o -Wl,--whole-archive ../libqemu_common.a libqemu.a ../libhw64/libqemuhw64.a -Wl,--no-whole-archive -lrt -lpthread -lutil -lpci -lz -lbluetooth -L/usr/kerberos/lib64 -lcurl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz -lncurses -lasound -luuid -lsasl2 -lgnutls -L/usr/lib64 -lSDL -lpt
hread -lX11 -lm -lz

Quoted 12 lines

monitor.o: In function `mon_get_cpu':
/usr/src/redhat/BUILD/qemu-kvm-0.12.1/monitor.c:680: undefined reference to kvm_save_mpstate' monitor.o: In function do_info_cpus':
/usr/src/redhat/BUILD/qemu-kvm-0.12.1/monitor.c:783: undefined reference to kvm_save_mpstate' machine.o: In function cpu_pre_save':
/usr/src/redhat/BUILD/qemu-kvm-0.12.1/target-i386/machine.c:326: undefined reference to `kvm_save_mpstate'
collect2: ld returned 1 exit status
make[1]: *** [qemu-system-x86_64] Error 1
make[1]: Leaving directory `/home/src/redhat/BUILD/qemu-kvm-0.12.1/x86_64-softmmu'
make: *** [subdir-x86_64-softmmu] Error 2

On what host is this happening?

Signature · 1 line
error compiling committee.c: too many arguments to function
author
#5 lore raw
In reply to Nikola Ciprich
Quoted 3 lines · Nikola Ciprich

Hi Avi,
I just tried compiling and the same problem I've reported minutes ago:
gcc -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/slirp -m64 -Wold-style-definition -I. -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1 -U_FORTIFY_SOURCE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DHAS_AUDIO -DHAS_AUDIO_CHOICE -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/fpu -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/tcg -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/tcg/x86_64 -I.. -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/target-mips -DNEED_CPU_H -O2 -g -Wl,--warn-common -m64 -g -o qemu-system-mipsel vl.o async.o monitor.o pci.o pci_host.o pcie_host.o machine.o gdbstub.o virt

io-blk.o virtio-balloon.o virtio-net.o virtio-console.o virtio-pci.o msix.o isa_mmio.o eepro100.o pcnet.o rtl8139.o e1000.o mips_r4k.o mips_jazz.o mips_malta.o mips_mipssim.o mips_timer.o mip!

Quoted 6 lines

s_int.o dma.o vga.o serial.o i8254.o i8259.o rc4030.o vga-pci.o vga-isa.o vga-isa-mm.o g364fb.o jazz_led.o dp8393x.o ide/core.o ide/qdev.o ide/isa.o ide/pci.o ide/piix.o gt64xxx.o pckbd.o fdc.o mc146818rtc.o usb-uhci.o acpi.o ds1225y.o piix4.o parallel.o cirrus_vga.o pcspk.o sb16.o es1370.o ac97.o mipsnet.o ne2000-isa.o pflash_cfi01.o vmware_vga.o -Wl,--whole-archive ../libqemu_common.a libqemu.a ../libhw64/libqemuhw64.a -Wl,--no-whole-archive -lrt -lpthread -lutil -lpci -lz -lbluetooth -L/usr/kerberos/lib64 -lcurl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz -lncurses -lasound -luuid -lsasl2 -lgnutls -L/usr/lib64 -lSDL -lpthread -lX11 -lm -lz
monitor.o: In function `mon_get_cpu':
/usr/src/redhat/BUILD/qemu-kvm-0.12.1/monitor.c:680: undefined reference to kvm_save_mpstate' monitor.o: In function do_info_cpus':
/usr/src/redhat/BUILD/qemu-kvm-0.12.1/monitor.c:783: undefined reference to `kvm_save_mpstate'

I've fixed this for 0.12.2 (or 0.12.1.1, depends).

Signature · 1 line
error compiling committee.c: too many arguments to function
#6 lore raw

Great!
when will you push it? I don't see it in git yet... sorry to be so pushy, but I just can't wait to try new release :) n.

Quoted 4 lines · Avi Kivity
Quoted 3 lines · Nikola Ciprich

Hi Avi,
I just tried compiling and the same problem I've reported minutes ago:
gcc -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/slirp -m64 -Wold-style-definition -I. -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1 -U_FORTIFY_SOURCE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -O2 -g -pipe -Wall -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DHAS_AUDIO -DHAS_AUDIO_CHOICE -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/fpu -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/tcg -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/tcg/x86_64 -I.. -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/target-mips -DNEED_CPU_H -O2 -g -Wl,--warn-common -m64 -g -o qemu-system-mipsel vl.o async.o monitor.o pci.o pci_host.o pcie_host.o machine.o gdbstub.o vir

tio-blk.o virtio-balloon.o virtio-net.o virtio-console.o virtio-pci.o msix.o isa_mmio.o eepro100.o pcnet.o rtl8139.o e1000.o mips_r4k.o mips_jazz.o mips_malta.o mips_mipssim.o mips_timer.o m!

Quoted 18 lines

ip!

Quoted 5 lines

s_int.o dma.o vga.o serial.o i8254.o i8259.o rc4030.o vga-pci.o vga-isa.o vga-isa-mm.o g364fb.o jazz_led.o dp8393x.o ide/core.o ide/qdev.o ide/isa.o ide/pci.o ide/piix.o gt64xxx.o pckbd.o fdc.o mc146818rtc.o usb-uhci.o acpi.o ds1225y.o piix4.o parallel.o cirrus_vga.o pcspk.o sb16.o es1370.o ac97.o mipsnet.o ne2000-isa.o pflash_cfi01.o vmware_vga.o -Wl,--whole-archive ../libqemu_common.a libqemu.a ../libhw64/libqemuhw64.a -Wl,--no-whole-archive -lrt -lpthread -lutil -lpci -lz -lbluetooth -L/usr/kerberos/lib64 -lcurl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz -lncurses -lasound -luuid -lsasl2 -lgnutls -L/usr/lib64 -lSDL -lpthread -lX11 -lm -lz
monitor.o: In function `mon_get_cpu':
/usr/src/redhat/BUILD/qemu-kvm-0.12.1/monitor.c:680: undefined reference to kvm_save_mpstate' monitor.o: In function do_info_cpus':
/usr/src/redhat/BUILD/qemu-kvm-0.12.1/monitor.c:783: undefined reference to `kvm_save_mpstate'

I've fixed this for 0.12.2 (or 0.12.1.1, depends).

Signature · 7 lines
error compiling committee.c: too many arguments to function


--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Signature · 13 lines
-------------------------------------
Ing. Nikola CIPRICH
LinuxBox.cz, s.r.o.
28. rijna 168, 709 01 Ostrava

tel.:   +420 596 603 142
fax:    +420 596 621 273
mobil:  +420 777 093 799
www.linuxbox.cz

mobil servis: +420 737 238 656
email servis: [email protected]
-------------------------------------
#13 lore raw
In reply to Avi Kivity

Avi Kivity 提到:

Quoted 18 lines

qemu-kvm-0.12.1 is now available. This release is is based on the upstream qemu 0.12.1, plus kvm-specific enhancements. Please see the original qemu 0.12.1 release announcement for details.

This release can be used with the kvm kernel modules provided by your distribution kernel, or by the modules in the kvm-kmod package, such as kvm-kmod-2.6.32.

Changes from qemu-kvm-0.11.1
- merge qemu 0.12.1
- many changes, including:
- s390 support
- live migration: support migration with non shared storage
- live migration: make save/restore data driven (VMState)
- monitor: introduce machine-protocol (QMP)
- qdev: convert many devices, support reading config from file
- pci: infrastructure to support 64-bit busses
- net: introduce -netdev to support point-to-point networking
- net: add support for GSO and checksum offload
- tons of bug fixes throughout the code base
- many kvm-specific bug fixes

Quoted 2 lines

http://www.linux-kvm.org

After upgrade to qemu-kvm-0.12.1 can not boot 64bit Windows XP. It work fine with (qemu-kvm.git at 27-dec-2009)
An error messages like this:

rom: requested regions overlap (rom vapic.bin. free=0x0000000000000600, addr=0x0000000000000000) rom loading failed

I can find vapic.bin in /opt/qemu-kvm-0.12.1/share/qemu/vapic.bin

Please help, thank you.

#14 lore raw
Quoted 5 lines
Quoted 2 lines

After upgrade to qemu-kvm-0.12.1 can not boot 64bit Windows XP. It work fine with (qemu-kvm.git at 27-dec-2009) An error messages like this:

Quoted 7 lines

rom: requested regions overlap (rom vapic.bin. free=0x0000000000000600, addr=0x0000000000000000)
rom loading failed

I can find vapic.bin in /opt/qemu-kvm-0.12.1/share/qemu/vapic.bin

Please help, thank you.

look here:

http://article.gmane.org/gmane.comp.emulators.kvm.devel/44314

author
#11 lore raw
In reply to Thomas Mueller
Quoted 20 lines · Thomas Mueller

Am Mon, 21 Dec 2009 09:14:13 +0100 schrieb Ingmar Schraub:

Quoted 17 lines

Hi,

after upgrading from qemu-kvm-0.12.0-rc2 to qemu-kvm-0.12.1 I cannot start my Windows 7 (64Bit) VM any more. I get the following error on start-up:

rom: requested regions overlap (rom vapic.bin. free=0x0000000000000600, addr=0x0000000000000000)
rom loading failed

I used to run it with this command line:

qemu-system-x86_64 -k de -enable-kvm -usb -drive file=/home/ingmar/kvm/windows7.qcow2,if=ide,boot=on,cache=none -net nic,macaddr=DE:AD:BE:EF:28:26,vlan=1,model=e1000 -net tap,script=/etc/kvm/qemu-ifup,vlan=1 -m 1024 -vnc :3 -boot c

Quoted 8 lines
Quoted 3 lines

Any idea what is wrong here? It worked fine with all previous qemu-kvm versions.

remove "boot=on" from -drive and set "-boot order=c" instead of "-boot c"

is boot=on in "-drive" no longer supported or is this a bug?

boot=on is supported, so this is a bug.

Signature · 1 line
error compiling committee.c: too many arguments to function
#12 lore raw
Quoted 24 lines · Avi Kivity
Quoted 23 lines · Thomas Mueller

Am Mon, 21 Dec 2009 09:14:13 +0100 schrieb Ingmar Schraub:

Quoted 20 lines

Hi,

after upgrading from qemu-kvm-0.12.0-rc2 to qemu-kvm-0.12.1 I cannot start my Windows 7 (64Bit) VM any more. I get the following error on start-up:

rom: requested regions overlap (rom vapic.bin. free=0x0000000000000600, addr=0x0000000000000000)
rom loading failed

I used to run it with this command line:

qemu-system-x86_64 -k de -enable-kvm -usb -drive file=/home/ingmar/kvm/windows7.qcow2,if=ide,boot=on,cache=none -net nic,macaddr=DE:AD:BE:EF:28:26,vlan=1,model=e1000 -net tap,script=/etc/kvm/qemu-ifup,vlan=1 -m 1024 -vnc :3 -boot c

Any idea what is wrong here? It worked fine with all previous qemu-kvm versions.

Quoted 7 lines
Quoted 5 lines

remove "boot=on" from -drive and set "-boot order=c" instead of "-boot c"

is boot=on in "-drive" no longer supported or is this a bug?

boot=on is supported, so this is a bug.

Without "-drive boot=on" but with "-boot order=c" I cannot even boot from a virtio disk (-drive if=virtio). The workaround with "-boot order=c" and without "-drive boot=on" works for IDE disks, but not for virtio (another Linux VM I am running beside that Windows 7 VM).

Maybe I am missing something. So I am looking forward to the next qemu-kvm-0.12.x and hope for a fix.

Regards,

Ingmar

#15 lore raw
In reply to Thomas Mueller

Thomas Mueller 提到:

Quoted 12 lines
Quoted 11 lines

After upgrade to qemu-kvm-0.12.1 can not boot 64bit Windows XP. It work fine with (qemu-kvm.git at 27-dec-2009) An error messages like this:

rom: requested regions overlap (rom vapic.bin. free=0x0000000000000600, addr=0x0000000000000000)
rom loading failed

I can find vapic.bin in /opt/qemu-kvm-0.12.1/share/qemu/vapic.bin

Please help, thank you.

Quoted 9 lines

look here:

http://article.gmane.org/gmane.comp.emulators.kvm.devel/44314

--
To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

And how about this one "-vga std"

rom: requested regions overlap (rom vgabios.bin. free=0x000000000000232c, addr=0x0000000000000000) rom loading failed

#16 lore raw

I'm also having both of these problems (booting from virtio and vgabios.bin). Debian 5, kernel 2.6.32 and qemu-kvm-0.12.1.