qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [0/27] Implement emulation of pSeries logical partition


From: Alexander Graf
Subject: [Qemu-devel] Re: [0/27] Implement emulation of pSeries logical partitions (v4)
Date: Wed, 23 Mar 2011 15:26:26 +0100

On 23.03.2011, at 06:30, David Gibson wrote:

> This patch series adds a "pseries" machine to qemu, allowing it to
> emulate IBM pSeries logical partitions.  More specifically it
> implements the interface defined by the "PowerPC Architecture Platform
> Requirements" document (PAPR, or sPAPR for short).
> 
> Along the way we add a bunch of support for more modern ppc CPUs than
> are currently supported.  It also makes some significant cleanups to
> the translation code for hash page table based ppc MMUs.

Please add a check on libfdt on all sources that require it:


address@hidden:/space/qemu> ./configure --target-list=ppc-softmmu,ppc64-softmmu
make -j8
Install prefix    /usr/local
BIOS directory    /usr/local/share/qemu
binary directory  /usr/local/bin
config directory  /usr/local/etc
Manual directory  /usr/local/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path       /space/qemu
C compiler        gcc
Host C compiler   gcc
CFLAGS            -O2 -g 
QEMU_CFLAGS       -Werror -D_FORTIFY_SOURCE=2 -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  -fstack-protector-all 
-Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security 
-Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration 
-Wold-style-definition -Wtype-limits
LDFLAGS           -Wl,--warn-common -g 
make              make
install           install
host CPU          ppc
host big endian   yes
target list       ppc-softmmu ppc64-softmmu
tcg debug enabled no
Mon debug enabled no
gprof enabled     no
sparse enabled    no
strip binaries    yes
profiler          no
static build      no
-Werror enabled   yes
SDL support       yes
curses support    yes
curl support      no
check support     no
mingw32 support   no
Audio drivers     oss
Extra audio cards ac97 es1370 sb16 hda
Block whitelist   
Mixer emulation   no
VNC support       yes
VNC TLS support   no
VNC SASL support  yes
VNC JPEG support  yes
VNC PNG support   yes
VNC thread        no
xen support       no
brlapi support    no
bluez  support    yes
Documentation     yes
NPTL support      yes
GUEST_BASE        yes
PIE user targets  no
vde support       no
IO thread         no
Linux AIO support no
ATTR/XATTR support no
Install blobs     yes
KVM support       yes
fdt support       no
preadv support    no
fdatasync         yes
madvise           yes
posix_madvise     yes
uuid support      yes
vhost-net support no
Trace backend     nop
Trace output file trace-<pid>
spice support     no
rbd support       no
xfsctl support    no
address@hidden:/space/qemu> make -j8
  GEN   ppc-softmmu/config-devices.mak
  GEN   config-all-devices.mak
  GEN   qemu-options.texi
  GEN   qemu-monitor.texi
  GEN   qemu-tech.html
  GEN   qemu-img.1
  GEN   QMP/qmp-commands.txt
  GEN   trace.h
  GEN   config-host.h
  GEN   qemu-options.def
  GEN   trace.c
  GEN   qemu-doc.html
  GEN   qemu.1
  CC    qemu-nbd.o
  CC    qemu-tool.o
  CC    qemu-error.o
  CC    osdep.o
  CC    oslib-posix.o
  CC    trace.o
  CC    cutils.o
  CC    cache-utils.o
  CC    qemu-malloc.o
  CC    qemu-option.o
  CC    module.o
  CC    async.o
  CC    nbd.o
  CC    block.o
  CC    aio.o
  CC    aes.o
  CC    qemu-config.o
  CC    posix-aio-compat.o
  CC    block/raw.o
  CC    block/cow.o
  CC    block/qcow.o
  CC    block/vdi.o
  CC    block/vmdk.o
  CC    block/cloop.o
  CC    block/dmg.o
  CC    block/bochs.o
  CC    block/vpc.o
  CC    block/vvfat.o
  CC    block/qcow2.o
  CC    block/qcow2-refcount.o
  CC    block/qcow2-cluster.o
  CC    block/qcow2-snapshot.o
  CC    block/qcow2-cache.o
  CC    block/qed.o
  CC    block/qed-gencb.o
  CC    block/qed-l2-cache.o
  CC    block/qed-table.o
  CC    block/qed-cluster.o
  CC    block/qed-check.o
  CC    block/parallels.o
  CC    block/nbd.o
  CC    block/blkdebug.o
  CC    block/sheepdog.o
  CC    block/blkverify.o
  CC    block/raw-posix.o
  CC    qint.o
  CC    qstring.o
  CC    qdict.o
  CC    qlist.o
  CC    qfloat.o
  CC    qbool.o
  CC    qjson.o
  CC    json-lexer.o
  CC    json-streamer.o
  CC    json-parser.o
  CC    qerror.o
  CC    qemu-timer-common.o
  CC    qemu-img.o
  CC    qemu-io.o
  CC    cmd.o
  CC    libhw32/vl.o
  CC    blockdev.o
  CC    net.o
  CC    net/queue.o
  CC    libhw32/loader.o
  CC    net/checksum.o
  CC    net/util.o
  CC    net/socket.o
  CC    net/dump.o
  CC    net/tap.o
  CC    net/tap-linux.o
  CC    net/slirp.o
  CC    readline.o
  CC    console.o
  CC    cursor.o
  CC    os-posix.o
  CC    tcg-runtime.o
  CC    host-utils.o
  CC    irq.o
  CC    ioport.o
  CC    input.o
  CC    ptimer.o
  CC    libhw32/virtio.o
  CC    libhw32/virtio-console.o
  CC    i2c.o
  CC    libhw32/fw_cfg.o
  CC    libhw32/pci.o
  CC    libhw32/pci_bridge.o
  CC    smbus.o
  CC    smbus_eeprom.o
  CC    eeprom93xx.o
  CC    scsi-disk.o
  CC    libhw32/msix.o
  CC    libhw32/msi.o
  CC    cdrom.o
  CC    libhw32/pci_host.o
  CC    scsi-generic.o
  CC    scsi-bus.o
  CC    libhw32/pcie_host.o
  CC    libhw32/ioh3420.o
  CC    libhw32/xio3130_upstream.o
  CC    libhw32/xio3130_downstream.o
  CC    libhw32/watchdog.o
  CC    libhw32/isa_mmio.o
  CC    libhw32/pflash_cfi01.o
  CC    libhw32/pflash_cfi02.o
  CC    usb.o
  CC    usb-hub.o
  CC    usb-linux.o
  CC    libhw32/m48t59.o
  CC    libhw32/escc.o
  CC    usb-hid.o
  CC    libhw32/serial.o
  CC    libhw32/i8254.o
  CC    usb-msd.o
  CC    libhw32/pckbd.o
  CC    libhw32/usb-uhci.o
  CC    libhw32/usb-ohci.o
  CC    usb-wacom.o
  CC    usb-serial.o
  CC    libhw32/fdc.o
  CC    libhw32/dma.o
  CC    libhw32/openpic.o
  CC    usb-net.o
  CC    usb-bus.o
  CC    usb-desc.o
  CC    libhw32/prep_pci.o
  CC    libhw32/macio.o
  CC    bt.o
  CC    bt-host.o
  CC    bt-vhci.o
  CC    libhw32/cuda.o
  CC    bt-l2cap.o
  CC    libhw32/adb.o
  CC    libhw32/mac_nvram.o
  CC    bt-sdp.o
  CC    bt-hci.o
  CC    libhw32/mac_dbdma.o
  CC    libhw32/heathrow_pic.o
  CC    libhw32/grackle_pci.o
  CC    libhw32/unin_pci.o
  CC    libhw32/dec_pci.o
  CC    libhw32/ppce500_pci.o
  CC    libhw32/wdt_i6300esb.o
  CC    libhw32/pcie.o
  CC    libhw32/pcie_aer.o
  CC    bt-hid.o
  CC    libhw32/pcie_port.o
  CC    usb-bt.o
  CC    libhw32/ne2000.o
  CC    libhw32/eepro100.o
  CC    libhw32/pcnet-pci.o
  CC    libhw32/pcnet.o
  CC    bt-hci-csr.o
  CC    libhw32/e1000.o
  CC    libhw32/rtl8139.o
  CC    buffered_file.o
  CC    libhw32/ne2000-isa.o
  CC    libhw32/ide/core.o
  CC    migration.o
  CC    libhw32/ide/qdev.o
  CC    migration-tcp.o
  CC    qemu-sockets.o
  CC    libhw32/ide/pci.o
  CC    libhw32/ide/isa.o
  CC    qemu-char.o
  CC    libhw32/ide/cmd646.o
  CC    libhw32/ide/macio.o
  CC    libhw32/ide/ahci.o
  CC    libhw32/ide/ich.o
  CC    libhw32/lsi53c895a.o
  CC    savevm.o
  CC    libhw32/dma-helpers.o
  CC    libhw32/sysbus.o
  CC    libhw32/isa-bus.o
  CC    libhw32/qdev-addr.o
  CC    libhw32/vga-pci.o
  CC    libhw32/sb16.o
  CC    libhw32/es1370.o
  CC    libhw32/ac97.o
  CC    libhw32/intel-hda.o
  CC    msmouse.o
  CC    libhw32/hda-audio.o
  CC    ps2.o
  CC    qdev.o
  CC    qdev-properties.o
  CC    block-migration.o
  CC    pflib.o
  CC    bitmap.o
  CC    bitops.o
  CC    migration-exec.o
  CC    migration-unix.o
  CC    migration-fd.o
  CC    audio/audio.o
  CC    audio/noaudio.o
  CC    audio/wavaudio.o
  CC    audio/mixeng.o
  CC    audio/sdlaudio.o
  CC    audio/ossaudio.o
  CC    audio/wavcapture.o
  CC    ui/keymaps.o
  CC    ui/sdl.o
  CC    ui/sdl_zoom.o
  CC    ui/x_keymap.o
  CC    ui/curses.o
  CC    ui/vnc.o
  CC    ui/d3des.o
  CC    ui/vnc-enc-zlib.o
  CC    ui/vnc-enc-hextile.o
  CC    ui/vnc-enc-tight.o
  CC    ui/vnc-palette.o
  CC    ui/vnc-enc-zrle.o
  CC    ui/vnc-auth-sasl.o
  CC    ui/vnc-jobs-sync.o
  CC    iov.o
  CC    acl.o
  CC    qemu-thread-posix.o
  CC    compatfd.o
  CC    notify.o
  CC    event_notifier.o
  CC    qemu-timer.o
  CC    slirp/cksum.o
  CC    slirp/if.o
  CC    slirp/ip_icmp.o
  CC    slirp/ip_input.o
  CC    slirp/ip_output.o
  CC    slirp/slirp.o
  CC    slirp/mbuf.o
  CC    slirp/misc.o
  CC    slirp/sbuf.o
  CC    slirp/socket.o
  CC    slirp/tcp_input.o
  CC    slirp/tcp_output.o
  CC    slirp/tcp_subr.o
  CC    slirp/tcp_timer.o
  CC    slirp/udp.o
  CC    slirp/bootp.o
  CC    slirp/tftp.o
  CC    libdis/ppc-dis.o
  LINK  qemu-nbd
  LINK  qemu-img
  CC    libhw64/vl.o
  LINK  qemu-io
  CC    libhw64/loader.o
  CC    libhw64/virtio.o
  CC    libhw64/virtio-console.o
  CC    libhw64/fw_cfg.o
  CC    libhw64/pci.o
  CC    libhw64/pci_bridge.o
  CC    libhw64/msix.o
  CC    libhw64/msi.o
  CC    libhw64/pci_host.o
  CC    libhw64/pcie_host.o
  CC    libhw64/ioh3420.o
  CC    libhw64/xio3130_upstream.o
  CC    libhw64/xio3130_downstream.o
  CC    libhw64/watchdog.o
  CC    libhw64/isa_mmio.o
  CC    libhw64/pflash_cfi01.o
  CC    libhw64/pflash_cfi02.o
  CC    libhw64/m48t59.o
  CC    libhw64/escc.o
  CC    libhw64/serial.o
  CC    libhw64/i8254.o
  CC    libhw64/pckbd.o
  CC    libhw64/usb-uhci.o
  CC    libhw64/usb-ohci.o
  CC    libhw64/fdc.o
  CC    libhw64/dma.o
  CC    libhw64/openpic.o
  CC    libhw64/prep_pci.o
  CC    libhw64/macio.o
  CC    libhw64/cuda.o
  CC    libhw64/adb.o
  CC    libhw64/mac_nvram.o
  GEN   config-target.h
  CC    libhw64/mac_dbdma.o
  GEN   ppc-softmmu/hmp-commands.h
  CC    libhw64/heathrow_pic.o
  CC    libhw64/grackle_pci.o
  GEN   ppc-softmmu/qmp-commands.h
  CC    libhw64/unin_pci.o
  CC    libhw64/dec_pci.o
  GEN   ppc-softmmu/gdbstub-xml.c
  CC    libhw64/ppce500_pci.o
  CC    libhw64/wdt_i6300esb.o
  CC    libhw64/pcie.o
  CC    ppc-softmmu/arch_init.o
  CC    libhw64/pcie_aer.o
  CC    libhw64/pcie_port.o
  CC    libhw64/ne2000.o
  CC    libhw64/eepro100.o
  CC    libhw64/pcnet-pci.o
  CC    libhw64/pcnet.o
  CC    libhw64/e1000.o
  CC    ppc-softmmu/cpus.o
  CC    libhw64/rtl8139.o
  CC    ppc-softmmu/monitor.o
  CC    ppc-softmmu/machine.o
  CC    ppc-softmmu/gdbstub.o
  CC    ppc-softmmu/balloon.o
  CC    libhw64/ne2000-isa.o
  CC    ppc-softmmu/virtio-blk.o
  CC    libhw64/ide/core.o
  CC    libhw64/ide/qdev.o
  CC    ppc-softmmu/virtio-balloon.o
  CC    libhw64/ide/pci.o
  CC    ppc-softmmu/virtio-net.o
  CC    ppc-softmmu/virtio-serial-bus.o
  CC    libhw64/ide/isa.o
  CC    ppc-softmmu/virtio-pci.o
  CC    libhw64/ide/cmd646.o
  CC    libhw64/ide/macio.o
  CC    libhw64/ide/ahci.o
  CC    libhw64/ide/ich.o
  CC    libhw64/lsi53c895a.o
  CC    ppc-softmmu/vhost_net.o
  CC    ppc-softmmu/rwhandler.o
  CC    libhw64/dma-helpers.o
  CC    ppc-softmmu/kvm.o
  CC    ppc-softmmu/kvm-all.o
  CC    ppc-softmmu/ivshmem.o
  CC    libhw64/sysbus.o
  CC    libhw64/isa-bus.o
  CC    ppc-softmmu/exec.o
  CC    libhw64/qdev-addr.o
  CC    libhw64/vga-pci.o
  CC    ppc-softmmu/translate-all.o
  CC    libhw64/sb16.o
  CC    ppc-softmmu/cpu-exec.o
  CC    libhw64/es1370.o
  CC    libhw64/ac97.o
  CC    ppc-softmmu/translate.o
  CC    ppc-softmmu/tcg/tcg.o
  CC    ppc-softmmu/fpu/softfloat.o
  CC    libhw64/intel-hda.o
  CC    libhw64/hda-audio.o
  CC    ppc-softmmu/op_helper.o
  CC    ppc-softmmu/helper.o
  CC    ppc-softmmu/disas.o
  GEN   config-target.h
  CC    ppc-softmmu/gdbstub-xml.o
  GEN   ppc64-softmmu/hmp-commands.h
  GEN   ppc64-softmmu/qmp-commands.h
  CC    ppc-softmmu/ppc.o
  GEN   ppc64-softmmu/gdbstub-xml.c
  CC    ppc-softmmu/vga.o
  CC    ppc-softmmu/i8259.o
  CC    ppc64-softmmu/gdbstub-xml.o
  CC    ppc64-softmmu/ppc.o
  CC    ppc64-softmmu/vga.o
  CC    ppc-softmmu/mc146818rtc.o
  CC    ppc64-softmmu/i8259.o
  CC    ppc64-softmmu/mc146818rtc.o
  CC    ppc-softmmu/ppc_prep.o
  CC    ppc64-softmmu/ppc_prep.o
  CC    ppc64-softmmu/ppc_oldworld.o
  CC    ppc-softmmu/ppc_oldworld.o
  CC    ppc64-softmmu/ppc_newworld.o
  CC    ppc-softmmu/ppc_newworld.o
  CC    ppc64-softmmu/spapr.o
/space/qemu/hw/spapr.c:41:20: error: libfdt.h: No such file or directory
cc1: warnings being treated as errors
/space/qemu/hw/spapr.c: In function ‘spapr_create_fdt’:
/space/qemu/hw/spapr.c:90: error: implicit declaration of function ‘fdt_create’
/space/qemu/hw/spapr.c:90: error: nested extern declaration of ‘fdt_create’
/space/qemu/hw/spapr.c:90: error: implicit declaration of function 
‘fdt_strerror’
/space/qemu/hw/spapr.c:90: error: nested extern declaration of ‘fdt_strerror’
/space/qemu/hw/spapr.c:90: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:92: error: implicit declaration of function 
‘fdt_finish_reservemap’
/space/qemu/hw/spapr.c:92: error: nested extern declaration of 
‘fdt_finish_reservemap’
/space/qemu/hw/spapr.c:92: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:95: error: implicit declaration of function 
‘fdt_begin_node’
/space/qemu/hw/spapr.c:95: error: nested extern declaration of ‘fdt_begin_node’
/space/qemu/hw/spapr.c:95: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:96: error: implicit declaration of function 
‘fdt_property_string’
/space/qemu/hw/spapr.c:96: error: nested extern declaration of 
‘fdt_property_string’
/space/qemu/hw/spapr.c:96: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:97: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:99: error: implicit declaration of function 
‘fdt_property_cell’
/space/qemu/hw/spapr.c:99: error: nested extern declaration of 
‘fdt_property_cell’
/space/qemu/hw/spapr.c:99: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:100: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:103: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:105: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:106: error: implicit declaration of function 
‘fdt_property’
/space/qemu/hw/spapr.c:106: error: nested extern declaration of ‘fdt_property’
/space/qemu/hw/spapr.c:106: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:108: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:110: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:112: error: implicit declaration of function 
‘fdt_end_node’
/space/qemu/hw/spapr.c:112: error: nested extern declaration of ‘fdt_end_node’
/space/qemu/hw/spapr.c:112: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:115: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:117: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:118: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:121: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:124: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:126: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:127: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:147: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:151: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:152: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:154: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:155: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:157: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:159: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:162: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:163: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:164: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:166: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:167: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:168: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:169: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:173: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:177: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:182: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:185: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:187: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:190: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:193: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:195: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:197: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:198: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:199: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:200: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:204: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:207: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:209: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:210: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:211: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:212: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:213: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:214: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:216: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:218: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:219: error: implicit declaration of function ‘fdt_finish’
/space/qemu/hw/spapr.c:219: error: nested extern declaration of ‘fdt_finish’
/space/qemu/hw/spapr.c:219: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:222: error: implicit declaration of function 
‘fdt_open_into’
/space/qemu/hw/spapr.c:222: error: nested extern declaration of ‘fdt_open_into’
/space/qemu/hw/spapr.c:222: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:235: error: implicit declaration of function ‘fdt_pack’
/space/qemu/hw/spapr.c:235: error: nested extern declaration of ‘fdt_pack’
/space/qemu/hw/spapr.c:235: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:238: error: implicit declaration of function 
‘fdt_totalsize’
/space/qemu/hw/spapr.c:238: error: nested extern declaration of ‘fdt_totalsize’
make[1]: *** [spapr.o] Error 1
make[1]: *** Waiting for unfinished jobs....
  CC    ppc-softmmu/spapr.o
  CC    ppc-softmmu/spapr_hcall.o
  CC    ppc-softmmu/spapr_rtas.o
/space/qemu/hw/spapr.c:41:20: error: libfdt.h: No such file or directory
cc1: warnings being treated as errors
/space/qemu/hw/spapr.c: In function ‘spapr_create_fdt’:
/space/qemu/hw/spapr.c:90: error: implicit declaration of function ‘fdt_create’
/space/qemu/hw/spapr.c:90: error: nested extern declaration of ‘fdt_create’
/space/qemu/hw/spapr.c:90: error: implicit declaration of function 
‘fdt_strerror’
/space/qemu/hw/spapr.c:90: error: nested extern declaration of ‘fdt_strerror’
/space/qemu/hw/spapr.c:90: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:92: error: implicit declaration of function 
‘fdt_finish_reservemap’
/space/qemu/hw/spapr.c:92: error: nested extern declaration of 
‘fdt_finish_reservemap’
/space/qemu/hw/spapr.c:92: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:95: error: implicit declaration of function 
‘fdt_begin_node’
/space/qemu/hw/spapr.c:95: error: nested extern declaration of ‘fdt_begin_node’
/space/qemu/hw/spapr.c:95: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:96: error: implicit declaration of function 
‘fdt_property_string’
/space/qemu/hw/spapr.c:96: error: nested extern declaration of 
‘fdt_property_string’
/space/qemu/hw/spapr.c:96: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:97: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:99: error: implicit declaration of function 
‘fdt_property_cell’
/space/qemu/hw/spapr.c:99: error: nested extern declaration of 
‘fdt_property_cell’
/space/qemu/hw/spapr.c:99: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:100: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:103: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:105: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:106: error: implicit declaration of function 
‘fdt_property’
/space/qemu/hw/spapr.c:106: error: nested extern declaration of ‘fdt_property’
/space/qemu/hw/spapr.c:106: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:108: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:110: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:112: error: implicit declaration of function 
‘fdt_end_node’
/space/qemu/hw/spapr.c:112: error: nested extern declaration of ‘fdt_end_node’
/space/qemu/hw/spapr.c:112: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:115: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:117: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:118: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:121: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:124: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:126: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:127: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:147: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:151: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:152: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:154: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:155: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:157: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:159: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:162: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:163: error: ‘struct CPUPPCState’ has no member named 
‘slb_nr’
/space/qemu/hw/spapr.c:163: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:164: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:166: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:167: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:168: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:169: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:172: error: ‘POWERPC_MMU_1TSEG’ undeclared (first use in 
this function)
/space/qemu/hw/spapr.c:172: error: (Each undeclared identifier is reported only 
once
/space/qemu/hw/spapr.c:172: error: for each function it appears in.)
/space/qemu/hw/spapr.c:173: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:177: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:182: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:185: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:187: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:190: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:193: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:195: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:197: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:198: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:199: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:200: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:204: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:207: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:209: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:210: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:211: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:212: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:213: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:214: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:216: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:218: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:219: error: implicit declaration of function ‘fdt_finish’
/space/qemu/hw/spapr.c:219: error: nested extern declaration of ‘fdt_finish’
/space/qemu/hw/spapr.c:219: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:222: error: implicit declaration of function 
‘fdt_open_into’
/space/qemu/hw/spapr.c:222: error: nested extern declaration of ‘fdt_open_into’
/space/qemu/hw/spapr.c:222: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:235: error: implicit declaration of function ‘fdt_pack’
/space/qemu/hw/spapr.c:235: error: nested extern declaration of ‘fdt_pack’
/space/qemu/hw/spapr.c:235: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr.c:238: error: implicit declaration of function 
‘fdt_totalsize’
/space/qemu/hw/spapr.c:238: error: nested extern declaration of ‘fdt_totalsize’
make[1]: *** [spapr.o] Error 1
make[1]: *** Waiting for unfinished jobs....
/space/qemu/hw/spapr_rtas.c:36:20: error: libfdt.h: No such file or directory
cc1: warnings being treated as errors
/space/qemu/hw/spapr_rtas.c: In function ‘rtas_start_cpu’:
/space/qemu/hw/spapr_rtas.c:153: error: large integer implicitly truncated to 
unsigned type
/space/qemu/hw/spapr_rtas.c: In function ‘spapr_rtas_device_tree_setup’:
/space/qemu/hw/spapr_rtas.c:219: error: implicit declaration of function 
‘fdt_add_mem_rsv’
/space/qemu/hw/spapr_rtas.c:219: error: nested extern declaration of 
‘fdt_add_mem_rsv’
/space/qemu/hw/spapr_rtas.c:222: error: implicit declaration of function 
‘fdt_strerror’
/space/qemu/hw/spapr_rtas.c:222: error: nested extern declaration of 
‘fdt_strerror’
/space/qemu/hw/spapr_rtas.c:222: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr_rtas.c:230: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr_rtas.c:238: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr_rtas.c:246: error: format ‘%s’ expects type ‘char *’, but 
argument 3 has type ‘int’
/space/qemu/hw/spapr_rtas.c:261: error: format ‘%s’ expects type ‘char *’, but 
argument 4 has type ‘int’
make[1]: *** [spapr_rtas.o] Error 1
cc1: warnings being treated as errors
/space/qemu/hw/spapr_hcall.c: In function ‘compute_tlbie_rb’:
/space/qemu/hw/spapr_hcall.c:92: error: right shift count >= width of type
/space/qemu/hw/spapr_hcall.c: In function ‘h_protect’:
/space/qemu/hw/spapr_hcall.c:240: error: left shift count >= width of type
/space/qemu/hw/spapr_hcall.c:241: error: left shift count >= width of type
/space/qemu/hw/spapr_hcall.c: In function ‘h_register_vpa’:
/space/qemu/hw/spapr_hcall.c:407: error: large integer implicitly truncated to 
unsigned type
/space/qemu/hw/spapr_hcall.c:411: error: large integer implicitly truncated to 
unsigned type
/space/qemu/hw/spapr_hcall.c:411: error: duplicate case value
/space/qemu/hw/spapr_hcall.c:407: error: previously used here
/space/qemu/hw/spapr_hcall.c:415: error: large integer implicitly truncated to 
unsigned type
/space/qemu/hw/spapr_hcall.c:415: error: duplicate case value
/space/qemu/hw/spapr_hcall.c:407: error: previously used here
/space/qemu/hw/spapr_hcall.c:419: error: large integer implicitly truncated to 
unsigned type
/space/qemu/hw/spapr_hcall.c:419: error: duplicate case value
/space/qemu/hw/spapr_hcall.c:407: error: previously used here
/space/qemu/hw/spapr_hcall.c:423: error: large integer implicitly truncated to 
unsigned type
/space/qemu/hw/spapr_hcall.c:423: error: duplicate case value
/space/qemu/hw/spapr_hcall.c:407: error: previously used here
/space/qemu/hw/spapr_hcall.c:427: error: large integer implicitly truncated to 
unsigned type
/space/qemu/hw/spapr_hcall.c:427: error: duplicate case value
/space/qemu/hw/spapr_hcall.c:407: error: previously used here
make[1]: *** [spapr_hcall.o] Error 1
make: *** [subdir-ppc64-softmmu] Error 2
make: *** Waiting for unfinished jobs....
make: *** [subdir-ppc-softmmu] Error 2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]