Sign in

gwj / at91sam9263 · Commits

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Snippets
  • Commits 8,232
  • Compare
  • Branches 2
  • Tags 0
  • at91sam9263
21 Apr, 2009
7 commits
  • slirp: Handle DHCP requests for specific IP (Jan Kiszka) ...
    b63c7f6b
    This adds proper handling of the ciaddr field as well as the "Requested
    IP Address" option to slirp's DHCP server. If the client requests an
    invalid or used IP, a NAK reply is sent, if it requests a specific but
    valid IP, this is now respected.
    
    NAK'ing invalid IPs is specifically useful when changing the slirp IP
    range via '-net user,ip=...' while the client saved its previously used
    address and tries to reacquire it. Now this will be NAK'ed and the
    client will start a new discovery round.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7198 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-21 19:56:20 +0000  
    Browse Code »
  • net: Add parameter checks for VLAN clients (Jan Kiszka) ...
    8e4416af
    This aims at helping the user to find typos or other mistakes in
    parameter lists passed for VLAN client initialization. The existing
    parsing infrastructure does not allow a leaner approach, but this is
    better than nothing IMHO.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7197 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-21 19:56:15 +0000  
    Browse Code »
  • net: Fix -net socket,listen (Jan Kiszka) ...
    ea053add
    In case no symbolic name is provided when requesting VLAN connection via
    listening TCP socket ('-net socket,listen=...'), qemu crashes. This
    fixes the cause.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7196 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-21 19:56:11 +0000  
    Browse Code »
  • net: Check device passed to host_net_remove (Jan Kiszka) ...
    e8f1f9db
    Make sure that we do not delete guest NICs via host_net_remove.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7195 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-21 19:56:08 +0000  
    Browse Code »
  • MIPS signal handling fixes. ...
    0b1bcb00
    Also fixes a register corruption bug in do_sigreturn. When "returning"
    from sigreturn we are actually restoring the virtual cpu state from the
    signal frame.  This is actually surprisingly hard to observe in practice.
    
    Typically an thread be blocked in a FUTEX_WAIT call when the signal arrives,
    so the effect is a spurious syscall success and the introduction of a
    subtle race condition.
    
    On x86/arm a syscall modifies a single word sized register, so
    do_sigreturn can just return that value.  On MIPS a syscall clobbers
    multiple registers, so we need additional smarts.  My solution is to
    invent a magic errno value that means "don't touch CPU state".
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7194 c046a42c-6fe2-441c-8c8c-71466251a162
    pbrook authored
    2009-04-21 01:41:10 +0000  
    Browse Dir »
  • MIPS: Raise SIGSEGV, not SIGILL when an access faults. ...
    e4474235
    Signed-off-by: Paul Brook <paul@codesourcery.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7193 c046a42c-6fe2-441c-8c8c-71466251a162
    pbrook authored
    2009-04-21 01:03:10 +0000  
    Browse Code »
  • Fix target_siginfo ordering for MIPS. ...
    3f53d546
    Signed-off-by: Paul Brook <paul@codesourcery.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7192 c046a42c-6fe2-441c-8c8c-71466251a162
    pbrook authored
    2009-04-21 00:59:40 +0000  
    Browse Dir »

20 Apr, 2009
1 commit
  • Enable access to SYNCI_Step register in usermode emulation. ...
    df357f0e
    Signed-off-by: Paul Brook <paul@codesourcery.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7191 c046a42c-6fe2-441c-8c8c-71466251a162
    pbrook authored
    2009-04-20 23:55:57 +0000  
    Browse Dir »

19 Apr, 2009
5 commits
  • Build system: Fix dependency of qemu.1 ...
    7545668b
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7190 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-04-19 10:25:05 +0000  
    Browse Code »
  • kqemu: merge CONFIG_KQEMU and USE_KQEMU ...
    640f42e4
    Basically a recursive ":%s/USE_KQEMU/CONFIG_KQEMU/g".
    
    Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7189 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-04-19 10:18:01 +0000  
    Browse Code »
  • Adds SM501 usb host emulation feature. ...
    ac611340
    It makes usb keyboard available for sh4/r2d system emulation.
    
    The changes for "hw/usb-ohci.c" are as follows.
     - 'localmem_base' is introduced as OHCIState struct member.
       SM501 has a local memory, and it is used to pass and receive data with
       OHCI driver.  OHCI driver accesses it with SH4 physical memory address,
       and SM501 accesses it with SM501 local address.  'localmem_base' holds
       where the SM501 local memory is mapped into SH4 physical address space.
     - Memory access functions modified to adjust address with 'localmem_base'.
       The functions are, ohci_read_*(), ohci_put_*(), and ohci_copy_*().
     - ohci_read_hcca() and ohci_put_hcca() are introduced for more consistent
       implementation.
    
    For other source files, it does,
     - introduces usb_ohci_init_sm501().
     - adds irq argument for SM501 initialization, to emulate USB interrupts.
    
    Signed-off-by: Shin-ichiro KAWASAKI <kawasaki@juno.dti.ne.jp>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7188 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-04-19 09:15:50 +0000  
    Browse File »
  • linux-user: Linux kernel's fchmodat and faccessat have three args (no 4th arg) ...
    465c9f06
    In Linux kernel, fchmodat() and faccessat() take tree args.
    4th value <int flags> is only processed by libc.
    
    Signed-off-by: Takashi YOSHII <takasi-y@ops.dti.ne.jp>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7187 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-04-19 08:52:17 +0000  
    Browse Dir »
  • Fix indices in Menelaus save/load. ...
    2ba2d706
    Version increase won't be helpful here.  Spotted by Sergei Steshenko / Blau
    Wirbel.
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7186 c046a42c-6fe2-441c-8c8c-71466251a162
    balrog authored
    2009-04-19 00:26:31 +0000  
    Browse Code »

18 Apr, 2009
11 commits
  • kqemu: only compile kqemu.o if actually needed ...
    2d6ebb0c
    kqemu.o is compiled even if kqemu support is disabled. This is useless
    (kqemu.o should provide nothing that is actually used in that case) and
    slightly confusing. So introduce CONFIG_KQEMU for optionally compiling
    kqemu.o.
    
    Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7185 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-04-18 19:25:43 +0000  
    Browse File »
  • linux-user: fix IPCOP_sem* and implement sem* ...
    e5289087
    Fix and cleanup IPCOP_sem* ipc calls handling and
    implement sem* syscalls.
    
    Riku:
    
    1) Uglify whitespace so that diff gets smaller and easier
    to review
    
    2) use __get_user in target_to_host_sembuf
    
    Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
    Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7184 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
    2009-04-18 16:16:12 +0000  
    Browse File »
  • qemu-io: Verify read data by patterns (Kevin Wolf) ...
    c48101ae
    This patch adds a -P option to read and readv which allows to compare the read
    data to a given pattern. This can be used to verify data written by write -P.
    
    Signed-off-by: Kevin Wolf <kwolf@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7182 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-18 15:36:23 +0000  
    Browse Code »
  • qemu-io: Fix handling of bdrv_is_allocated() return value (Kevin Wolf) ...
    838ab728
    bdrv_is_allocated() returns a boolean which indicates if the offset is
    allocated, not 0 on success and everything else is an error.
    
    Signed-off-by: Kevin Wolf <kwolf@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7181 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-18 15:36:19 +0000  
    Browse Code »
  • monitor: Update command help (Jan Kiszka) ...
    cd33feec
    Align some monitor help texts to the related command parameter
    definitions. host_net_add is skipped intentionally, will be slightly
    reworked in a separate patch later.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7180 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-18 15:36:15 +0000  
    Browse File »
  • x86: Enhanced dump of segment registers (Jan Kiszka) ...
    a3867ed2
    Parse the descriptor flags that segment registers refer to and show the
    result in a more human-friendly format. The output of info registers eg.
    then looks like this:
    
    [...]
    ES =007b 00000000 ffffffff 00cff300 DPL=3 DS   [-WA]
    CS =0060 00000000 ffffffff 00c09b00 DPL=0 CS32 [-RA]
    SS =0068 00000000 ffffffff 00c09300 DPL=0 DS   [-WA]
    DS =007b 00000000 ffffffff 00cff300 DPL=3 DS   [-WA]
    FS =0000 00000000 00000000 00000000
    GS =0033 b7dd66c0 ffffffff b7dff3dd DPL=3 DS   [-WA]
    LDT=0000 00000000 00000000 00008200 DPL=0 LDT
    TR =0080 c06da700 0000206b 00008900 DPL=0 TSS32-avl
    [...]
    
    Changes in this version:
     - refactoring so that only a single helper is used for dumping the
       segment descriptor cache
     - tiny typo fixed that broke 64-bit segment type names
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7179 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-18 15:36:11 +0000  
    Browse Dir »
  • a couple of qemu-io fixes (Christoph Hellwig) ...
    7e9bbc9f
    Fix two stupid bugs that I forgot to push out:
    
    
     - qiov->size already is in bytes, no need to shift it
     - actually use the supplied patter in the writev command
    
    
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7178 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-18 15:36:06 +0000  
    Browse Code »
  • buildsytem: consistently use install (Christoph Egger) ...
    58f8aead
    attached patch makes qemu use install consistently.
    
    Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7177 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-18 15:36:02 +0000  
    Browse Code »
  • Use ANSI prototypes to please sparse ...
    aeed97c4
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7176 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-04-18 07:32:41 +0000  
    Browse Dir »
  • Add 'static' to avoid a sparse warning ...
    654efcf3
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7175 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-04-18 07:29:59 +0000  
    Browse Code »
  • Move bootp_filename to avoid a sparse warning ...
    aa806132
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7174 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-04-18 07:29:30 +0000  
    Browse Dir »

17 Apr, 2009
16 commits
  • Fix non-ACPI Timer Interrupt Routing (Beth Kon) ...
    c6d25871
    Replicate ACPI irq0->inti2 override in mp table for non-acpi case.
    
    v1 -> v2 adds comment suggested by Ryan.
    
    Signed-off-by: Beth Kon <eak@us.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7169 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-17 21:01:11 +0000  
    Browse Dir »
  • hpet: Fix emulation of HPET_TN_SETVAL (Jan Kiszka) ...
    37873241
    While Intel's spec is not that clear here, latest changes to Linux' HPET
    code (commit c23e253e67c9d8a91a0ffa33c1f571a17f0a2403, "x86: hpet: stop
    HPET_COUNTER when programming periodic mode") strongly suggest that
    HPET_TN_SETVAL rather means: Set _both_ the comparator value and
    register.
    
    With this patch applied, I'm again able to boot 2.6.30-rc kernels as
    they no longer panic like this (which was due to the comparator
    register remaining 0):
    
    ENABLING IO-APIC IRQs
    ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
    ..MP-BIOS bug: 8254 timer not connected to IO-APIC
    ...trying to set up timer (IRQ0) through the 8259A ...
    ..... (found apic 0 pin 2) ...
    ....... failed.
    ...trying to set up timer as Virtual Wire IRQ...
    ..... failed.
    ...trying to set up timer as ExtINT IRQ...
    ..... failed :(.
    Kernel panic - not syncing: IO-APIC + timer doesn't work! [...]
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7168 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-17 20:50:58 +0000  
    Browse Code »
  • kvm: Fix cpuid initialization (Jan Kiszka) ...
    a33609ca
    Fix (more or less) spurious guest boot failures due to corrupted cpuid
    states. The reason was insufficient initialization of cpuid entries
    before passing them to the kernel.
    
    At this chance also fix improper entry pointer progression and simplify
    the code a bit.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7167 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-17 20:50:54 +0000  
    Browse Dir »
  • qcow2 corruption: Fix alloc_cluster_link_l2 (Kevin Wolf) ...
    641636d1
    This patch fixes a qcow2 corruption bug introduced in SVN Rev 5861. L2 tables
    are big endian, so entries must be converted before being passed to functions.
    
    This bug is easy to trigger. The following script will create and destroy a
    qcow2 image (the header is gone after three loop iterations):
    
        #!/bin/bash
        qemu-img create -f qcow2 test.qcow 1M
        for i in $(seq 1 10); do
        qemu-system-x86_64 -hda test.qcow -monitor stdio > /dev/null 2>&1 <<EOF
        savevm test-$i
        quit
        EOF
        done
    
    Signed-off-by: Kevin Wolf <kwolf@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7165 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-17 20:44:06 +0000  
    Browse Code »
  • Make the sed script also work with OpenBSD and OpenSolaris seds ...
    052ff921
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7164 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-04-17 20:01:12 +0000  
    Browse Code »
  • qemu: Add support for SMBIOS command line otions (Alex Williamson) ...
    b6f6e3d3
    Create a new -smbios option (x86-only) to allow binary SMBIOS entries
    to be passed through to the BIOS or modify the default values of
    individual fields of type 0 and 1 entries on the command line.
    
    Binary SMBIOS entries can be generated as follows:
    
    dmidecode -t 1 -u | grep $'^\t\t[^"]' | xargs -n1 | \
            perl -lne 'printf "%c", hex($_)' > smbios_type_1.bin
    
    These can then be passed to the BIOS using this switch:
    
     -smbios file=smbios_type_1.bin
    
    Command line generation supports the following syntax:
    
     -smbios type=0[,vendor=str][,version=str][,date=str][,release=%d.%d]
     -smbios type=1[,manufacturer=str][,product=str][,version=str][,serial=str]
                  [,uuid=$(uuidgen)][,sku=str][,family=str]
    
    For instance, to add a serial number to the type 1 table:
    
     -smbios type=1,serial=0123456789
    
    Interface is extensible to support more fields/tables as needed.
    
    aliguori: remove texi formatting from help output
    
    Signed-off-by: Alex Williamson <alex.williamson@hp.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7163 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-17 18:59:56 +0000  
    Browse Code »
  • qemu: Add prototype and make qemu_uuid_parse() non-static (Alex Williamson) ...
    c4be29ff
    SMBIOS parameters can also provide a UUID outside of vl.c.
    
    Signed-off-by: Alex Williamson <alex.williamson@hp.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7162 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-17 18:58:14 +0000  
    Browse File »
  • Free VLANClientState using qemu_free() (Mark McLoughlin) ...
    dad35419
    It's allocated using qemu_mallocz(), so ...
    
    The name and model strings are strdup() allocated, so free()
    is still appropriate for them.
    
    Reported-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Mark McLoughlin <markmc@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7151 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-17 17:11:12 +0000  
    Browse File »
  • Introduce VLANClientState::cleanup() (Mark McLoughlin) ...
    b946a153
    We're currently leaking memory and file descriptors on device
    hot-unplug.
    
    Signed-off-by: Mark McLoughlin <markmc@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7150 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-17 17:11:08 +0000  
    Browse File »
  • Use NICInfo::model for eepro100 savevm ID string (Mark McLoughlin) ...
    32a8f6ae
    NICInfo::model will always be identical to the device name strings
    we're currently passing to nic_init(). Just re-use NICInfo::model.
    
    This makes it clear why we use vc->model for unregister_savevm()
    in a subsequent patch.
    
    Signed-off-by: Mark McLoughlin <markmc@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7149 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-17 17:11:03 +0000  
    Browse Code »
  • Add unregister_savevm() (Mark McLoughlin) ...
    41bd13af
    Currently there's no way to unregister a savevm callback, so
    e.g. if a NIC is hot-unplugged and a savevm is issued, we'll
    segfault.
    
    Signed-off-by: Mark McLoughlin <markmc@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7148 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-17 17:10:59 +0000  
    Browse Code »
  • Remove NICInfo from e1000 and mipsnet state (Mark McLoughlin) ...
    ad067148
    NICInfo isn't used after initialization, so remove it from the driver
    state structures.
    
    Signed-off-by: Mark McLoughlin <markmc@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7147 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-17 17:10:56 +0000  
    Browse Code »
  • Remove some useless malloc() checking (Mark McLoughlin) ...
    9036de1a
    Now that we abort() on malloc, neither qemu_find_vlan() nor
    net_tap_fd_init() can fail.
    
    Signed-off-by: Mark McLoughlin <markmc@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7146 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-17 17:10:51 +0000  
    Browse Code »
  • Don't fail PCI hotplug if no NIC model is supplied (Mark McLoughlin) ...
    eefb4091
    It's perfectly fine to not supply a NIC model when adding
    a new NIC - we supply the default model to pci_nic_init()
    and it uses that if one wasn't explicitly supplied.
    
    Signed-off-by: Mark McLoughlin <markmc@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7145 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-17 17:10:47 +0000  
    Browse Code »
  • Fix error handling in net_client_init() (Mark McLoughlin) ...
    771f1339
    We weren't freeing the name string everywhere.
    
    Signed-off-by: Mark McLoughlin <markmc@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7144 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-17 17:10:43 +0000  
    Browse Code »
  • struct iovec is now universally available (Mark McLoughlin) ...
    efb816c9
    struct iovec is now defined in qemu-common.h if needed, so we don't need
    the tap code to handle !defined(HAVE_IOVEC).
    
    Signed-off-by: Mark McLoughlin <markmc@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7143 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-17 17:10:39 +0000  
    Browse Code »