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
24 Apr, 2009
5 commits
  • qemu: factor out event notification / rearm alarm timer on main_loop_wait (Marcelo Tosatti) ...
    50317c7f
    Special events that have no particular event descriptor (either fd for UNIX
    or HANDLE for Windows) associated with make use of an artificial one.
    
    Factor the alarm timer notification so that it can be used for other events,
    and move dyntick timer rearm to main_loop_wait.
    
    aliguori: made sure to return a value in qemu_event_init() on win32
    
    Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7240 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-24 18:03:29 +0000  
    Browse Code »
  • qemu: introduce qemu_init_main_loop (Marcelo Tosatti) ...
    3fcf7b6b
    Hook to allow iothread initialization.
    
    Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7239 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-24 18:03:25 +0000  
    Browse File »
  • qemu: per-arch cpu_has_work (Marcelo Tosatti) ...
    6a4955a8
    Blue Swirl: fix Sparc32 breakage
    
    Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7238 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-24 18:03:20 +0000  
    Browse Dir »
  • qemu: mutex/thread/cond wrappers and configure tweaks (Marcelo Tosatti) ...
    e5d355d1
    Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7237 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-24 18:03:15 +0000  
    Browse Code »
  • qemu: create helper for event notification (Marcelo Tosatti) ...
    d9f75a4e
    Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7236 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-24 18:03:11 +0000  
    Browse Code »

23 Apr, 2009
3 commits
  • Fix typo, thanks to Andreas Faerber for spotting ...
    96248fd8
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7235 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-04-23 18:42:30 +0000  
    Browse Dir »
  • Use a more natural order ...
    fc1f79f7
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7234 c046a42c-6fe2-441c-8c8c-71466251a162
    blueswir1 authored
    2009-04-23 18:29:47 +0000  
    Browse Code »
  • Fix i386-linux-user build (Laurent Desnogues) ...
    00ea18d1
    This broke due to r7230.
    
    Signed-off-by: Laurent Desnogues <laurent.desnogues@gmail.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7233 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-23 13:16:56 +0000  
    Browse Dir »

22 Apr, 2009
15 commits
  • monitor: Fix warning in do_info_numa (Jan Kiszka) ...
    b28b6230
    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@7232 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-22 20:20:29 +0000  
    Browse Code »
  • Change RTC time drift IRQ re-injection (Gleb Natapov) ...
    93b66569
    Currently IRQ are reinjected as soon as they are acknowledged to
    the RTC, but Windows sometimes do acknowledgement in a loop with
    global interrupt disabled waiting for interrupt to be cleared and
    it does not mask RTC vector in PIC/APIC while doing this. In such
    situation interrupt injection always fails and RTC interrupt is never
    cleared.
    
    Instead of reinjecting coalesced IRQs on acknowledgement the patch below
    reinjects them by accelerating RTC clock a bit. This way RTC interrupt
    is not constantly raced after coalesced interrupt.
    
    Signed-off-by: Gleb Natapov <gleb@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7231 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-22 20:20:22 +0000  
    Browse Code »
  • put valid data into exit_int_info if needed (Gleb Natapov) ...
    2ed51f5b
    If fault happened during event delivery exit_int_info should contain
    valid info about the event on vm exit.
    
    Signed-off-by: Gleb Natapov <gleb@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7230 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-22 20:20:07 +0000  
    Browse Dir »
  • implement qemu_blockalign (Stefano Stabellini) ...
    e268ca52
    this patch adds a buffer_alignment field to BlockDriverState and
    implements a qemu_blockalign function that uses that field to allocate a
    memory aligned buffer to be used by the block driver.
    buffer_alignment is initialized to 512 but each block driver can set
    a different value (at the moment none of them do).
    This patch modifies ide.c, block-qcow.c, block-qcow2.c and block.c to
    use qemu_blockalign instead of qemu_memalign.
    There is only one place left that still uses qemu_memalign to allocate
    buffers used by block drivers that is posix-aio-compat:handle_aiocb_rw
    because it is not possible to get the BlockDriverState from that
    function. However I think it is not important because posix-aio-compat
    already deals with driver specific code so it is supposed to know its
    own needs.
    
    Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7229 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-22 20:20:00 +0000  
    Browse Code »
  • xen: add -vga xenfb option, configure xenfb (Gerd Hoffmann) ...
    94909d9f
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7228 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-22 15:19:53 +0000  
    Browse File »
  • simplify vga selection (Gerd Hoffmann) ...
    28b85ed8
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7227 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-22 15:19:48 +0000  
    Browse Code »
  • xen: pv domain builder. (Gerd Hoffmann) ...
    9306acb5
    This adds domain building support for paravirtual domains to qemu.
    This allows booting xen guests directly with qemu, without Xend
    and the management stack.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7226 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-22 15:19:44 +0000  
    Browse Code »
  • xen: blk & nic configuration via cmd line. (Gerd Hoffmann) ...
    2c8b24a3
    This patch makes qemu create backend and frontend device entries in
    xenstore for devices configured on the command line.  It will use
    qdisk and qnic backend names, so the qemu internal backends will
    be used.
    
    Disks can be created using -drive if=xen,file=...
    Nics can be created using -net nic,macaddr=...
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7225 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-22 15:19:39 +0000  
    Browse Dir »
  • xen: add net backend driver. (Gerd Hoffmann) ...
    e613b064
    This patch adds a network interface backend driver to qemu.  It is a pure
    userspace implemention using the gntdev interface.  It uses "qnet" as
    backend name in xenstore so it doesn't interfere with the netback
    backend (aka "vnif").
    
    The network backend is hooked into the corrosponding qemu vlan, i.e.
    vif 0 is hooked into vlan 0.  To make the packages actually arrive
    somewhere you additionally have to link the vlan to the outside world
    using the usual qemu command line options such as "-net tap,...".
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7224 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-22 15:19:35 +0000  
    Browse Code »
  • xen: add block device backend driver. (Gerd Hoffmann) ...
    62d23efa
    This patch adds a block device backend driver to qemu.  It is a pure
    userspace implemention using the gntdev interface.  It uses "qdisk" as
    backend name in xenstore so it doesn't interfere with the other existing
    backends (blkback aka "vbd" and tapdisk aka "tap").
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7223 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-22 15:19:30 +0000  
    Browse Dir »
  • xen: add framebuffer backend driver (Gerd Hoffmann) ...
    e7151f83
    This patch adds a frsamebuffer (and kbd+mouse) backend driver.  It
    it based on current xen-unstable code.  It has been changed to make
    use of the common backend driver code.  It also has been changed to
    compile with xen headers older than release 3.3
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7222 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-22 15:19:25 +0000  
    Browse Dir »
  • xen: add console backend driver. (Gerd Hoffmann) ...
    e57dd20b
    This patch adds a xenconsole backend driver.  It it based on current
    xen-unstable code.  It has been changed to make use of the common
    backend driver code.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7221 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-22 15:19:19 +0000  
    Browse Dir »
  • xen: backend driver core (Gerd Hoffmann) ...
    d94f9486
    This patch adds infrastructure for xen backend drivers living in qemu,
    so drivers don't need to implement common stuff on their own.  It's
    mostly xenbus management stuff: some functions to access xentore,
    setting up xenstore watches, callbacks on device discovery and state
    changes, handle event channel, ...
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7220 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-22 15:19:15 +0000  
    Browse Code »
  • xen: groundwork for xen support (Gerd Hoffmann) ...
    e37630ca
    - configure script and build system changes.
    - wind up new machine type.
    - add -xen-* command line options.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7219 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-22 15:19:10 +0000  
    Browse Code »
  • update .gitignore: add qemu-io (Gerd Hoffmann) ...
    b194f610
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7218 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-22 13:05:35 +0000  
    Browse Code »

21 Apr, 2009
17 commits
  • qcow2: Add plausibility check for L1/L2 entries (Kevin Wolf) ...
    54c42368
    From: Kevin Wolf <kwolf@redhat.com>
    
    All L1 and L2 entries must point at the start of a cluster. If there is some
    offset into the cluster, the entry is corrupted.
    
    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@7217 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-21 23:12:02 +0000  
    Browse Code »
  • qcow2: Refcount checking code cleanup (Kevin Wolf) ...
    ae2f14af
    This is purely cosmetical changes to make the code easier to read. Move L2
    table processing from a deeply nested block to its own function, add some
    comments.
    
    Patch v2: Fix misplaced bracket causing false positives
    
    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@7216 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-21 23:11:58 +0000  
    Browse Dir »
  • Introduce qemu-img check subcommand (Kevin Wolf) ...
    1585969c
    From: Kevin Wolf <kwolf@redhat.com>
    
    Now that block drivers can provide check functions, expose them through
    qemu-img.
    
    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@7215 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-21 23:11:53 +0000  
    Browse Code »
  • Introduce bdrv_check (Kevin Wolf) ...
    e97fc193
    From: Kevin Wolf <kwolf@redhat.com>
    
    Introduce a new bdrv_check function pointer for block drivers. Modify qcow2 to
    return an error status in check_refcounts(), so it can implement bdrv_check.
    
    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@7214 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-21 23:11:50 +0000  
    Browse Dir »
  • qcow2: Fix warnings in check_refcount() (Kevin Wolf) ...
    8ddbc04f
    From: Kevin Wolf <kwolf@redhat.com>
    
    This code is currently only compiled when DEBUG_ALLOC is defined, so you
    usually don't see compiler warnings on it. This patch series wants to enable
    the code, so fix the format string warnings first.
    
    While we're at it, let's print error messages to stderr.
    
    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@7213 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-21 23:11:45 +0000  
    Browse Dir »
  • sending NUMA topology to BIOS (Andre Przywara) ...
    11c2fd3e
    uses the QEMU firmware configuration interfacce to send the NUMA
    topology to the BIOS, which has to setup the tables. Only one firmware
    configuration channel is used.
    
    Signed-off-by: Andre Przywara <andre.przywara@amd.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7212 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-21 22:31:41 +0000  
    Browse Code »
  • add info numa command to monitor (Andre Przywara) ...
    030ea37b
    adds an "info numa" command to the monitor to output the current
    topology. Since NUMA is advertised via static ACPI tables, no changes are
    possible during runtime.
    
    Signed-off-by: Andre Przywara <andre.przywara@amd.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7211 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-21 22:30:47 +0000  
    Browse Code »
  • added -numa cmdline parameter parser (Andre Przywara) ...
    268a362c
    adds a -numa command line parameter and sets a QEMU global array with
    the memory sizes. The CPU-to-node assignemnt is written into the
    CPUState. If no specific values for memory and CPUs are given,
    all resources will be split equally across all nodes.
    This code currently support only up to 64 virtual CPUs.
    
    Signed-off-by: Andre Przywara <andre.przywara@amd.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7210 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-21 22:30:27 +0000  
    Browse Code »
  • Safety net for the cases where disassembler/translator disagree over instruction decoding ...
    754d00ae
    Noticed by Mark Karpeles.
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7209 c046a42c-6fe2-441c-8c8c-71466251a162
    malc authored
    2009-04-21 22:26:22 +0000  
    Browse Code »
  • net: Prevent multiple slirp instances (Jan Kiszka) ...
    8d6249a7
    The slirp stack is full of global variables which prevents instantiating
    it more than once. Catch this during net_slirp_init to prevent more harm
    later on.
    
    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@7208 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-21 20:49:11 +0000  
    Browse Code »
  • slirp: Enhance host-guest redirection setup (Jan Kiszka) ...
    d4ebe193
    Allow to establish a TCP/UDP connection redirection also via a monitor
    command 'host_net_redir'. Moreover, assume TCP as connection type if
    that parameter is omitted.
    
    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@7204 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-21 19:56:44 +0000  
    Browse File »
  • net: Untangle nested qemu_send_packet (Jan Kiszka) ...
    764a4d1d
    Queue packets that are send during an ongoing packet delivery. This
    ensures that packets will always arrive in their logical order at each
    client of a VLAN. Currently, slirp generates such immediate relies, and
    e.g. packet-sniffing clients on the same VLAN may get confused.
    
    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@7203 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-21 19:56:41 +0000  
    Browse Code »
  • monitor: Allow host_net_add/remove for all targets (Jan Kiszka) ...
    a66b11bf
    There is nothing x86-specific in host_net_add/remove, so allow them for
    all targets.
    
    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@7202 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-21 19:56:36 +0000  
    Browse Code »
  • monitor: Improve host_net_add (Jan Kiszka) ...
    5c8be678
    Fix the documentation of the host_net_add monitor command and allow the
    user to pass no options at all. Moreover, inform the user on the
    monitor terminal if a request failed.
    
    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@7201 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-21 19:56:32 +0000  
    Browse Code »
  • net: Add support for capturing VLANs (Jan Kiszka) ...
    bb9ea79e
    This patch is derived from Tristan Gingold's patch. It adds a new VLAN
    client type that writes all traffic on the VLAN it is attached to into a
    pcap file. Such a file can then be analyzed offline with Wireshark or
    tcpdump.
    
    Besides rebasing and some minor cleanups, the major differences to the
    original version are:
     - support for enabling/disabling via the monitor (host_net_add/remove)
     - no special ordering of VLAN client list, qemu_send_packet now takes
       care of properly ordered packets
     - 64k default capturing limit (I hate tcpdump's default)
    
    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@7200 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-21 19:56:28 +0000  
    Browse Code »
  • Allow empty params for check_params (Jan Kiszka) ...
    10300216
    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@7199 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
    2009-04-21 19:56:23 +0000  
    Browse Code »
  • 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 »