qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] e2deee: xen-mapcache: replace last_address_in


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] e2deee: xen-mapcache: replace last_address_index with a la...
Date: Wed, 03 Apr 2013 15:00:19 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: e2deee3ea6136b6189e8cfd26379420b9a398d96
      
https://github.com/qemu/qemu/commit/e2deee3ea6136b6189e8cfd26379420b9a398d96
  Author: Stefano Stabellini <address@hidden>
  Date:   2013-04-03 (Wed, 03 Apr 2013)

  Changed paths:
    M xen-mapcache.c

  Log Message:
  -----------
  xen-mapcache: replace last_address_index with a last_entry pointer

Replace last_address_index and last_address_vaddr with a single pointer
to the last MapCacheEntry used.

Signed-off-by: Stefano Stabellini <address@hidden>


  Commit: 044d4e1aae539bd4214175bd9591b3de7986cf18
      
https://github.com/qemu/qemu/commit/044d4e1aae539bd4214175bd9591b3de7986cf18
  Author: Hanweidong <address@hidden>
  Date:   2013-04-03 (Wed, 03 Apr 2013)

  Changed paths:
    M xen-mapcache.c

  Log Message:
  -----------
  xen-mapcache: pass the right size argument to test_bits

Compute the correct size for test_bits().
qemu_get_ram_ptr() and qemu_safe_ram_ptr() will call xen_map_cache()
with size is 0 if the requested address is in the RAM.  Then
xen_map_cache() will pass the size 0 to test_bits() for checking if the
corresponding pfn was mapped in cache. But test_bits() will always
return 1 when size is 0 without any bit testing. Actually, for this
case, test_bits should check one bit. So this patch introduced a
__test_bit_size which is greater than 0 and a multiple of XC_PAGE_SIZE,
then test_bits can work correctly with __test_bit_size
>> XC_PAGE_SHIFT as its size.

Signed-off-by: Zhenguo Wang <address@hidden>
Signed-off-by: Weidong Han <address@hidden>
Signed-off-by: Stefano Stabellini <address@hidden>


  Commit: eabb21aac9665097676b97fa3e053ae2982eba1e
      
https://github.com/qemu/qemu/commit/eabb21aac9665097676b97fa3e053ae2982eba1e
  Author: Anthony Liguori <address@hidden>
  Date:   2013-04-03 (Wed, 03 Apr 2013)

  Changed paths:
    M xen-mapcache.c

  Log Message:
  -----------
  Merge remote-tracking branch 'sstabellini/xen-2013-04-03' into staging

# By Hanweidong (1) and Stefano Stabellini (1)
# Via Stefano Stabellini
* sstabellini/xen-2013-04-03:
  xen-mapcache: pass the right size argument to test_bits
  xen-mapcache: replace last_address_index with a last_entry pointer


  Commit: 8243b0464b247ff460178a15f1fe306ef9c70b49
      
https://github.com/qemu/qemu/commit/8243b0464b247ff460178a15f1fe306ef9c70b49
  Author: Stefan Weil <address@hidden>
  Date:   2013-04-03 (Wed, 03 Apr 2013)

  Changed paths:
    M tpm/tpm_int.h
    M tpm/tpm_tis.h

  Log Message:
  -----------
  tpm: Fix several compiler warnings (redefined data types)

Signed-off-by: Stefan Weil <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: a509d632c877f7b5fa07368879b8ae5919a6d345
      
https://github.com/qemu/qemu/commit/a509d632c877f7b5fa07368879b8ae5919a6d345
  Author: Eduardo Habkost <address@hidden>
  Date:   2013-04-03 (Wed, 03 Apr 2013)

  Changed paths:
    M target-i386/cpu.c

  Log Message:
  -----------
  target-i386: Check for host features before filter_features_for_kvm()

commit 5ec01c2e96910e1588d1a0de8609b9dda7618c7f broke "-cpu ..,enforce",
as it has moved kvm_check_features_against_host() after the
filter_features_for_kvm() call. filter_features_for_kvm() removes all
features not supported by the host, so this effectively made
kvm_check_features_against_host() impossible to fail.

This patch changes the call so we check for host feature support before
filtering the feature bits.

Signed-off-by: Eduardo Habkost <address@hidden>
Message-id: address@hidden
Cc: Igor Mammedov <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 560e63965232e37d1916a447125cf91c18a96930
      
https://github.com/qemu/qemu/commit/560e63965232e37d1916a447125cf91c18a96930
  Author: Bruce Rogers <address@hidden>
  Date:   2013-04-03 (Wed, 03 Apr 2013)

  Changed paths:
    M hw/acpi.c
    M hw/acpi.h
    M hw/acpi_ich9.c
    M hw/acpi_piix4.c
    M hw/vt82c686.c

  Log Message:
  -----------
  acpi: initialize s4_val used in s4 shutdown

While investigating why a 32 bit Windows 2003 guest wasn't able to
successfully perform a shutdown /h, it was discovered that commit
afafe4bbe0cf7d3318e1ac7b40925561f86a6bd4 inadvertently dropped the
initialization of the s4_val used to handle s4 shutdown.
Initialize the value as before.

Signed-off-by: Bruce Rogers <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: ec3960148f95dd90e94511a6a64838bc3f474bcc
      
https://github.com/qemu/qemu/commit/ec3960148f95dd90e94511a6a64838bc3f474bcc
  Author: Jason Wang <address@hidden>
  Date:   2013-04-03 (Wed, 03 Apr 2013)

  Changed paths:
    M qapi-schema.json
    M qemu-options.hx

  Log Message:
  -----------
  help: add docs for missing 'queues' option of tap

Cc: Markus Armbruster <address@hidden>
Cc: address@hidden
Signed-off-by: Jason Wang <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


Compare: https://github.com/qemu/qemu/compare/162cbbd1736d...ec3960148f95

reply via email to

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