[Qemu-discuss] error with intel fortville 40gig ports

2015-03-31 Thread Nissim Nisimov
Hi all,



I am trying to load a VM via qemu-system-x86_64 (version 2.0) but when trying 
to attach a PCI nic of Intel XL710 40gig seems like console is stuck.



When I am trying to load Intel 10GIG NIC the VM boot normally and the 
application is working.



I did try to load the application with the XL710 NICs on bare-metal (no qemu 
involved) and succeeded so I think the issue is in qemu itself



The command I am trying is:



/usr/bin/qemu-system-x86_64 -name fv_117 --enable-kvm -k fr -m 2G -cpu host 
-smp cores=4,threads=1,sockets=1 -serial telnet::4445,server -monitor 
telnet::5556,server -hda /var/lib/libvirt/images/fv_117.qcow2 -device 
pci-assign,host=04:00.1,id=hostdev0,bus=pci.0,addr=0x5







Is anyone familiar with such behavior?





Thx

Nissim






Re: [Qemu-discuss] qemu-system-arm and armhf

2015-03-31 Thread benoit ROUSSELLE
Thanks Peter for your help.

1) do you know where i can find such compiled kernel, and their
corresponding machine type ?

2) regarding sanity check, this might only be the keyboard that is not
configured correctly:
- typing "Ctrl+Alt+3" drives me to QEMU 2.1.2 monitor where keyboards works.
Is there some log/place i should look for to see if keyboard is working or
not ?

Thanks,
Benoit.

On Mon, Mar 30, 2015 at 11:50 PM, Peter Maydell 
wrote:

> On 30 March 2015 at 08:24, benoit ROUSSELLE  wrote:
> > Dear All,
> >
> > i am running a debian8 amd64 machine and i would like to emulate an:
> > armhf machine with kernel > 3.8 (docker testing)
> >
> > following this: https://gist.github.com/bdsatish/7476239
> > i succeed to have a debian7 (3.2 kernel) working fine, but kernel is too
> > old. It seems kernel cannot be updated from that point.
> >
> > I have tried the same approach with debian8:
> > netboot install, with a vexpress machine (-M vexpress-a9 -cpu cortex-a9)
> :
> > does not start at all.
> > May be because vexpress kernel does not exist in installer for debian8.
> >
> > I am pretty new to arm, and i don't know what is the meaning/relation
> > between vepxress types of machines and arm different architectures.
>
> Basically, for ARM you must use a kernel that has been
> compiled with support for the machine type you're trying to boot
> it on. Otherwise you will typically find that it does not boot
> at all, with no diagnostics.
>
> > my last try with ubuntu trusty armhf port, was a bit better, as machine
> > starts to boot but freeze when asking the first question at installation
> > time:
> > qemu-system-arm -m 1024M -sd armdisk.img -M vexpress-a9 -cpu cortex-a9
> > -kernel ./netboot/vmlinuz -initrd ./netboot/initrd.gz -append
> > "root=/dev/ram"  -no-reboot
>
> If it manages to at least boot then you've got the basic
> config more or less right. I can't shed any light on why
> it's hanging though. Sanity check: this isn't just "keyboard
> and mouse not configured so you can't enter anything at
> the question", is it?
>
> -- PMM
>


[Qemu-discuss] configure fails for Solaris 10 Sparc

2015-03-31 Thread Michele Denber
Could someone please help tell me what's going wrong here?  Thiis is 
qemu-2.3.0-rc1on Solaris 10 Sparc 64.


In particular I don't get the message "glib-2.12 gthread-2.0 is required 
to compile QEMU" becasue I already have glib 2.41.0 installed.  I just 
bypassed that error in the configure file to make it keep going.  Didn't 
help.


# /usr/xpg4/bin/sh ./configure --cpu=sparc64 --cc=gcc --cxx=g++ 
--target-list=x86_64-softmmu

glib-2.12 gthread-2.0 is required to compile QEMU
Install prefix/usr/local
BIOS directory/usr/local/share/qemu
binary directory  /usr/local/bin
library directory /usr/local/lib
module directory  /usr/local/lib/qemu
libexec directory /usr/local/libexec
include directory /usr/local/include
config directory  /usr/local/etc
local state directory   /usr/local/var
Manual directory  /usr/local/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path   /export/home/michele/qemu-2.3.0-rc1
C compilergcc
Host C compiler   cc
C++ compiler  g++
Objective-C compiler gcc
ARFLAGS   rv
CFLAGS-O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -g
QEMU_CFLAGS   -I$(SRC_PATH)/pixman/pixman 
-I$(BUILD_DIR)/pixman/pixman -I$(SRC_PATH)/dtc/libfdt -m64 
-mcpu=ultrasparc -std=gnu99 -D__EXTENSIONS__ -D_XOPEN_SOURCE=600 
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings 
-Wmissing-prototypes -fno-strict-aliasing -fno-common  -Wendif-labels 
-Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security 
-Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration 
-Wold-style-definition -Wtype-limits -fstack-protector-strong  
-I/usr/include/libpng12

LDFLAGS   -m64 -g
make  gmake
install   ginstall
pythonpython -B
smbd  /usr/sfw/sbin/smbd
module supportno
host CPU  sparc64
host big endian   yes
target list   x86_64-softmmu
tcg debug enabled no
gprof enabled no
sparse enabledno
strip binariesyes
profiler  no
static build  no
pixmaninternal
SDL support   no
GTK support   no
VTE support   no
curses supportno
curl support  no
mingw32 support   no
Audio drivers
Block whitelist (rw)
Block whitelist (ro)
VirtFS supportno
VNC support   yes
VNC TLS support   no
VNC SASL support  no
VNC JPEG support  yes
VNC PNG support   yes
VNC WS supportno
xen support   no
brlapi supportno
bluez  supportno
Documentation yes
GUEST_BASEyes
PIE   no
vde support   no
netmap supportno
Linux AIO support no
ATTR/XATTR support no
Install blobs yes
KVM support   no
RDMA support  no
TCG interpreter   no
fdt support   yes
preadv supportno
fdatasync yes
madvise   yes
posix_madvise no
sigev_thread_id   no
uuid support  yes
libcap-ng support no
vhost-net support no
vhost-scsi support no
Trace backendsnop
spice support no
rbd support   no
xfsctl supportno
nss used  no
libusbno
usb net redir no
OpenGL supportno
libiscsi support  no
libnfs supportno
build guest agent yes
QGA VSS support   no
seccomp support   no
coroutine backend ucontext
coroutine poolyes
GlusterFS support no
Archipelago support no
gcov  gcov
gcov enabled  no
TPM support   yes
libssh2 support   no
TPM passthrough   no
QOM debugging yes
vhdx  yes
Quorumno
lzo support   no
snappy supportno
bzip2 support yes
NUMA host support no
#