Skip to content
Snippets Groups Projects
  1. Jul 29, 2012
    • Michael S. Tsirkin's avatar
      Merge branch pci into master · 5e59b024
      Michael S. Tsirkin authored
      Merge master and pci branch, resolve build breakage in hw/esp.c
      introduced by f90c2bcd.
      
      Conflicts:
      	hw/esp.c
      5e59b024
    • Vitaly Chipounov's avatar
      x86: Fixed incorrect segment base address addition in 64-bits mode · 7162ab21
      Vitaly Chipounov authored
      
      According to the Intel manual
      "Intel® 64 and IA-32 Architectures Software Developer’s Manual
      Volume 3", "3.4.4 Segment Loading Instructions in IA-32e Mode":
      
      "When in compatibility mode, FS and GS overrides operate as defined by
      32-bit mode behavior regardless of the value loaded into the upper 32
      linear-address bits of the hidden descriptor register base field.
      Compatibility mode ignores the upper 32 bits when calculating an effective address."
      
      However, the code misses the 64-bit mode case, where an instruction with
      address and segment size override would be translated incorrectly. For example,
      inc dword ptr gs:260h[ebx*4] gets incorrectly translated to:
      
      (uint32_t)(gs.base + ebx * 4 + 0x260)
      instead of
      gs.base + (uint32_t)(ebx * 4 + 0x260)
      
      Signed-off-by: default avatarVitaly Chipounov <vitaly.chipounov@epfl.ch>
      Reviewed-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
      Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
      7162ab21
    • Paolo Bonzini's avatar
      place qemu-sockets.c contributions since 2012-01-13 under GPLv2+ · e6d91ab6
      Paolo Bonzini authored
      
      Past contributions since 2012-01-13 were only made by Red Hat people,
      so they are already available under GPLv2+.
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      Reviewed-by: default avatarStefan Weil <sw@weilnetz.de>
      Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
      e6d91ab6
    • Dunrong Huang's avatar
      build: Fix linking failure for qemu-ga · 54c2e502
      Dunrong Huang authored
      
      This patch will fix the following linking failed:
      
        LINK  qemu-ga
      gcc: error: qga/../qapi-generated/qga-qapi-types.o: No such file or directory
      gcc: error: qga/../qapi-generated/qga-qapi-visit.o: No such file or directory
      gcc: error: qga/../qapi-generated/qga-qmp-marshal.o: No such file or directory
      make: *** [qemu-ga] Error 1
      
      Commit cdc976b0 changes the
      dependencies of qemu-ga to depend "../qapi-generated/qga-qapi-types.o",
      which will be expanded to "qga/../qapi-generated/qga-qapi-types.o" when
      building qemu-ga.
      
      In top-level Makefile, we defined a target "qapi-generated/qga-qapi-types.o"
      which was not equal to "qga/../qapi-generated/qga-qapi-types" in the
      Makefile world. So "No such file" error happened when qemu-ga was linking.
      
      The easy approach to fix is to change the target name to
      "qga/../qapi-generated/qga-qapi-types.o", but it is weird.
      
      So, in order to solve it more graciously, I move those temporary
      files(qga-qapi-*.{c,h}) qemu-ga depends on to qemu-ga/qapi-generated,
      this makes dependencies more clearer.
      
      Signed-off-by: default avatarDunrong Huang <riegamaths@gmail.com>
      Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
      54c2e502
  2. Jul 28, 2012
  3. Jul 27, 2012
  4. Jul 23, 2012
Loading