mbox

[GIT,PULL] kvm upstream updates

Message ID 4D19BDBE.9040109@redhat.com
State New
Headers show

Pull-request

git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git uq/master

Message

Avi Kivity Dec. 28, 2010, 10:36 a.m. UTC
The following changes since commit 4cdc1cd137e0b98766916a7cdf2d5a9b3c6632fa:

   target-mips: fix host CPU consumption when guest is idle (2010-12-27 
00:58:06 +0100)

are available in the git repository at:
   git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git uq/master

Jan Kiszka (4):
       kvm: x86: Fix DPL write back of segment registers
       kvm: x86: Remove obsolete SS.RPL/DPL aligment
       kvm: x86: Prevent sign extension of DR7 in guest debugging mode
       kvm: x86: Fix a few coding style violations

Jin Dongming (6):
       Clean up cpu_inject_x86_mce()
       Add "broadcast" option for mce command
       Add function for checking mca broadcast of CPU
       kvm: introduce kvm_mce_in_progress
       kvm: kvm_mce_inj_* subroutines for templated error injections
       kvm: introduce kvm_inject_x86_mce_on

Lai Jiangshan (2):
       kvm: Enable user space NMI injection for kvm guest
       kvm: convert kvm_ioctl(KVM_CHECK_EXTENSION) to kvm_check_extension()

Marcelo Tosatti (1):
       Expose thread_id in info cpus

  configure             |    3 +
  cpu-all.h             |    3 +-
  cpu-defs.h            |    1 +
  cpus.c                |    5 +
  exec.c                |    1 +
  hmp-commands.hx       |    6 +-
  kvm-all.c             |    2 +-
  monitor.c             |   11 +-
  os-posix.c            |   10 +
  os-win32.c            |    5 +
  osdep.h               |    1 +
  target-i386/cpu.h     |    1 +
  target-i386/helper.c  |   76 ++++++-
  target-i386/kvm.c     |  534 
++++++++++++++++++++++++++++---------------------
  target-i386/kvm_x86.h |    5 +-
  15 files changed, 416 insertions(+), 248 deletions(-)

Comments

Jan Kiszka Dec. 29, 2010, 3:05 p.m. UTC | #1
Am 28.12.2010 11:36, Avi Kivity wrote:
> The following changes since commit
> 4cdc1cd137e0b98766916a7cdf2d5a9b3c6632fa:
> 
>   target-mips: fix host CPU consumption when guest is idle (2010-12-27
> 00:58:06 +0100)
> 
> are available in the git repository at:
>   git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git uq/master
> 
> Jan Kiszka (4):
>       kvm: x86: Fix DPL write back of segment registers
>       kvm: x86: Remove obsolete SS.RPL/DPL aligment
>       kvm: x86: Prevent sign extension of DR7 in guest debugging mode
>       kvm: x86: Fix a few coding style violations
> 
> Jin Dongming (6):
>       Clean up cpu_inject_x86_mce()
>       Add "broadcast" option for mce command
>       Add function for checking mca broadcast of CPU
>       kvm: introduce kvm_mce_in_progress
>       kvm: kvm_mce_inj_* subroutines for templated error injections
>       kvm: introduce kvm_inject_x86_mce_on
> 
> Lai Jiangshan (2):
>       kvm: Enable user space NMI injection for kvm guest
>       kvm: convert kvm_ioctl(KVM_CHECK_EXTENSION) to kvm_check_extension()
> 
> Marcelo Tosatti (1):
>       Expose thread_id in info cpus

As I'm currently unable to find this particular version of the last
patch in the archive:

  LINK  i386-linux-user/qemu-i386
exec.o: In function `cpu_exec_init':
/data/qemu-kvm/exec.c:634: undefined reference to `get_thread_id'              

And a minor remark: I would suggest to call it qemu_get_thread_id as it
is wrapped (like the rest of the osdeps).

Jan
Avi Kivity Dec. 29, 2010, 3:42 p.m. UTC | #2
On 12/29/2010 05:05 PM, Jan Kiszka wrote:
> Am 28.12.2010 11:36, Avi Kivity wrote:
> >  The following changes since commit
> >  4cdc1cd137e0b98766916a7cdf2d5a9b3c6632fa:
> >
> >    target-mips: fix host CPU consumption when guest is idle (2010-12-27
> >  00:58:06 +0100)
> >
> >  are available in the git repository at:
> >    git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git uq/master
> >
> >  Jan Kiszka (4):
> >        kvm: x86: Fix DPL write back of segment registers
> >        kvm: x86: Remove obsolete SS.RPL/DPL aligment
> >        kvm: x86: Prevent sign extension of DR7 in guest debugging mode
> >        kvm: x86: Fix a few coding style violations
> >
> >  Jin Dongming (6):
> >        Clean up cpu_inject_x86_mce()
> >        Add "broadcast" option for mce command
> >        Add function for checking mca broadcast of CPU
> >        kvm: introduce kvm_mce_in_progress
> >        kvm: kvm_mce_inj_* subroutines for templated error injections
> >        kvm: introduce kvm_inject_x86_mce_on
> >
> >  Lai Jiangshan (2):
> >        kvm: Enable user space NMI injection for kvm guest
> >        kvm: convert kvm_ioctl(KVM_CHECK_EXTENSION) to kvm_check_extension()
> >
> >  Marcelo Tosatti (1):
> >        Expose thread_id in info cpus
>
> As I'm currently unable to find this particular version of the last
> patch in the archive:
>
>    LINK  i386-linux-user/qemu-i386
> exec.o: In function `cpu_exec_init':
> /data/qemu-kvm/exec.c:634: undefined reference to `get_thread_id'
>

I'll take a look.

> And a minor remark: I would suggest to call it qemu_get_thread_id as it
> is wrapped (like the rest of the osdeps).

The thought crossed my mind, and I should have heeded it.  I'll update 
it as you suggest.
Jan Kiszka Dec. 31, 2010, 1:14 p.m. UTC | #3
Am 29.12.2010 16:42, Avi Kivity wrote:
> On 12/29/2010 05:05 PM, Jan Kiszka wrote:
>> Am 28.12.2010 11:36, Avi Kivity wrote:
>> >  The following changes since commit
>> >  4cdc1cd137e0b98766916a7cdf2d5a9b3c6632fa:
>> >
>> >    target-mips: fix host CPU consumption when guest is idle (2010-12-27
>> >  00:58:06 +0100)
>> >
>> >  are available in the git repository at:
>> >    git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git uq/master
>> >
>> >  Jan Kiszka (4):
>> >        kvm: x86: Fix DPL write back of segment registers
>> >        kvm: x86: Remove obsolete SS.RPL/DPL aligment
>> >        kvm: x86: Prevent sign extension of DR7 in guest debugging mode
>> >        kvm: x86: Fix a few coding style violations
>> >
>> >  Jin Dongming (6):
>> >        Clean up cpu_inject_x86_mce()
>> >        Add "broadcast" option for mce command
>> >        Add function for checking mca broadcast of CPU
>> >        kvm: introduce kvm_mce_in_progress
>> >        kvm: kvm_mce_inj_* subroutines for templated error injections
>> >        kvm: introduce kvm_inject_x86_mce_on
>> >
>> >  Lai Jiangshan (2):
>> >        kvm: Enable user space NMI injection for kvm guest
>> >        kvm: convert kvm_ioctl(KVM_CHECK_EXTENSION) to
>> kvm_check_extension()
>> >
>> >  Marcelo Tosatti (1):
>> >        Expose thread_id in info cpus
>>
>> As I'm currently unable to find this particular version of the last
>> patch in the archive:
>>
>>    LINK  i386-linux-user/qemu-i386
>> exec.o: In function `cpu_exec_init':
>> /data/qemu-kvm/exec.c:634: undefined reference to `get_thread_id'
>>
> 
> I'll take a look.

OK. And please rebase over current qemu master. I tried to pull in the
series to prepare qemu-kvm for the back merge, but it generated to much
conflicts, pointing out that uq/master is outdated.

> 
>> And a minor remark: I would suggest to call it qemu_get_thread_id as it
>> is wrapped (like the rest of the osdeps).
> 
> The thought crossed my mind, and I should have heeded it.  I'll update
> it as you suggest.
> 

Jan
Jan Kiszka Jan. 2, 2011, 1:49 p.m. UTC | #4
Am 31.12.2010 14:14, Jan Kiszka wrote:
> Am 29.12.2010 16:42, Avi Kivity wrote:
>> On 12/29/2010 05:05 PM, Jan Kiszka wrote:
>>> Am 28.12.2010 11:36, Avi Kivity wrote:
>>>>  Marcelo Tosatti (1):
>>>>        Expose thread_id in info cpus
>>>
>>> As I'm currently unable to find this particular version of the last
>>> patch in the archive:
>>>
>>>    LINK  i386-linux-user/qemu-i386
>>> exec.o: In function `cpu_exec_init':
>>> /data/qemu-kvm/exec.c:634: undefined reference to `get_thread_id'
>>>
>>
>> I'll take a look.
> 
> OK. And please rebase over current qemu master. I tried to pull in the
> series to prepare qemu-kvm for the back merge, but it generated to much
> conflicts, pointing out that uq/master is outdated.

That was false alarm. Current uq/master actually nicely applies on
qemu/master. My problems turned out to be related to subtle differences
in the qemu-kvm tree.

Jan