On 07/24/2013 12:48 PM, H. Peter Anvin wrote:
> On 07/23/2013 09:37 PM, Jason Wang wrote:
>> On 07/23/2013 10:48 PM, H. Peter Anvin wrote:
>>> On 07/23/2013 06:55 AM, KY Srinivasan wrote:
This strategy of hypervisor detection based on some detection order IMHO
is not
a robust detect
Il 24/07/2013 08:46, Arthur Chunqi Li ha scritto:
> On Wed, Jul 24, 2013 at 2:40 PM, Paolo Bonzini wrote:
>> Il 24/07/2013 08:11, Arthur Chunqi Li ha scritto:
>>>
>>> static int vmx_run()
>>> {
>>> u32 eax;
>>> bool ret;
>>>
>>> vmcs_write(HOST_RSP, get_rsp());
>>> ret = vmlaunch()
On Wed, Jul 24, 2013 at 2:40 PM, Paolo Bonzini wrote:
> Il 24/07/2013 08:11, Arthur Chunqi Li ha scritto:
>>
>> static int vmx_run()
>> {
>> u32 eax;
>> bool ret;
>>
>> vmcs_write(HOST_RSP, get_rsp());
>> ret = vmlaunch();
>
> The compiler can still change rsp between here...
>
>>
Il 24/07/2013 08:11, Arthur Chunqi Li ha scritto:
>
> static int vmx_run()
> {
> u32 eax;
> bool ret;
>
> vmcs_write(HOST_RSP, get_rsp());
> ret = vmlaunch();
The compiler can still change rsp between here...
> while (!ret) {
> asm volatile(
> "vmx_return
Hi Gleb and Paolo,
What about organizing vmx_run() as follows:
static int vmx_run()
{
u32 eax;
bool ret;
vmcs_write(HOST_RSP, get_rsp());
ret = vmlaunch();
while (!ret) {
asm volatile(
"vmx_return:\n\t"
SAVE_GPR
);
eax = exit_han
On 07/23/2013 09:37 PM, Jason Wang wrote:
> On 07/23/2013 10:48 PM, H. Peter Anvin wrote:
>> On 07/23/2013 06:55 AM, KY Srinivasan wrote:
>>> This strategy of hypervisor detection based on some detection order IMHO is
>>> not
>>> a robust detection strategy. The current scheme works since the only
On 07/23/2013 09:44 PM, Jason Wang wrote:
>
> Since it's just a minor optimization. How about just keep using the
> strcmp()?
>
It's more that it enables the rest of the cleanup, making the code
easier to read.
-hpa
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
t
On 07/24/2013 12:03 AM, H. Peter Anvin wrote:
> On 07/23/2013 04:16 AM, Paolo Bonzini wrote:
>> That's nicer, though strcmp is what the replaced code used to do in
>> patches 2 and 3.
>>
>> Note that memcmp requires the caller to use "KVMKVMKVM\0\0" as the
>> signature (or alternatively hypervisor_
On 07/23/2013 10:48 PM, H. Peter Anvin wrote:
> On 07/23/2013 06:55 AM, KY Srinivasan wrote:
>> This strategy of hypervisor detection based on some detection order IMHO is
>> not
>> a robust detection strategy. The current scheme works since the only
>> hypervisor emulated
>> (by other hypervisor
On 07/23/2013 09:48 PM, Gleb Natapov wrote:
> On Tue, Jul 23, 2013 at 05:41:02PM +0800, Jason Wang wrote:
>> > This patch introduce hypervisor_cpuid_base() which loop test the hypervisor
>> > existence function until the signature match and check the number of
>> > leaves if
>> > required. This co
On 07/18/2013 06:27 PM, Alexander Graf wrote:
On 18.07.2013, at 12:19, “tiejun.chen” wrote:
On 07/18/2013 06:12 PM, Alexander Graf wrote:
On 18.07.2013, at 12:08, “tiejun.chen” wrote:
On 07/18/2013 05:48 PM, Alexander Graf wrote:
On 18.07.2013, at 10:25, Bhushan Bharat-R65777 wrote:
> -Original Message-
> From: Wood Scott-B07421
> Sent: Tuesday, July 23, 2013 11:50 PM
> To: Bhushan Bharat-R65777
> Cc: Wood Scott-B07421; Alexander Graf; kvm-...@vger.kernel.org;
> kvm@vger.kernel.org
> Subject: Re: [PATCH 2/2 v2] kvm: powerpc: set cache coherency only for kernel
> mana
> -Original Message-
> From: H. Peter Anvin [mailto:h...@zytor.com]
> Sent: Tuesday, July 23, 2013 2:46 PM
> To: KY Srinivasan
> Cc: Jason Wang; t...@linutronix.de; mi...@redhat.com; x...@kernel.org;
> g...@redhat.com; pbonz...@redhat.com; kvm@vger.kernel.org; linux-
> ker...@vger.kernel.
On Tue, 2013-07-23 at 23:11 +0200, Massimiliano Adamo wrote:
> All,
>
> this is a bug with KVM, impacting (at least) all mainstream kernels that
> I tried so far: 3.2, 3.3, 3.4, 3.5, 3.8, 3.10 and 3.11
>
> This is the link of the downstream bug:
> https://bugs.launchpad.net/ubuntu/+source/linux/
All,
this is a bug with KVM, impacting (at least) all mainstream kernels that
I tried so far: 3.2, 3.3, 3.4, 3.5, 3.8, 3.10 and 3.11
This is the link of the downstream bug:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1201092
- Firt of all I mention that this bug has been raised also fo
On 07/23/2013 10:45 AM, KY Srinivasan wrote:
>>
>> One strategy would be to pick the *last* one in the CPUID list, since
>> the ones before it are logically the one(s) being emulated...
>
> Is it always possible to guarantee this ordering. As a hypothetical, what if
> hypervisor A
> emulates Hype
On 06/26/2013 03:03 PM, Alex Williamson wrote:
On Mon, 2013-06-24 at 11:43 -0600, Bjorn Helgaas wrote:
On Wed, Jun 19, 2013 at 6:43 AM, Don Dutile wrote:
On 06/18/2013 10:52 PM, Bjorn Helgaas wrote:
On Tue, Jun 18, 2013 at 5:03 PM, Don Dutile wrote:
On 06/18/2013 06:22 PM, Alex Williamso
One strange thing though:
20:19:03.910892 ARP, Request who-has 192.168.178.2 tell 192.168.178.1, length 46
20:19:04.906854 ARP, Request who-has 192.168.178.2 tell 192.168.178.1, length 46
20:19:05.493445 ARP, Request who-has 192.168.178.2 tell 192.168.178.83, length
46
20:19:05.903027 ARP, Reques
I tried this evening to connect the vm directly to the ethernet adapter,
not a bridge in between (the bridge was completely removed). This worked
for a couple of hours then it was gone again.
The 3 other network adapters of that vm/guest were fine!
On Sun, Jul 21, 2013 at 08:08:53PM +0200, folkert
On 07/23/2013 06:13:58 AM, Bhushan Bharat-R65777 wrote:
> -Original Message-
> From: Wood Scott-B07421
> Sent: Thursday, July 18, 2013 10:48 PM
> To: Bhushan Bharat-R65777
> Cc: kvm-...@vger.kernel.org; kvm@vger.kernel.org; ag...@suse.de;
Bhushan Bharat-
> R65777
> Subject: Re: [PATC
On 07/23/2013 11:50:35 AM, Bhushan Bharat-R65777 wrote:
> -Original Message-
> From: Wood Scott-B07421
> Sent: Tuesday, July 23, 2013 10:15 PM
> To: Bhushan Bharat-R65777
> Cc: Wood Scott-B07421; Alexander Graf; kvm-...@vger.kernel.org;
> kvm@vger.kernel.org
> Subject: Re: [PATCH 2/2 v2
> -Original Message-
> From: H. Peter Anvin [mailto:h...@zytor.com]
> Sent: Tuesday, July 23, 2013 10:48 AM
> To: KY Srinivasan
> Cc: Jason Wang; t...@linutronix.de; mi...@redhat.com; x...@kernel.org;
> g...@redhat.com; pbonz...@redhat.com; kvm@vger.kernel.org; linux-
> ker...@vger.kernel
> -Original Message-
> From: Wood Scott-B07421
> Sent: Tuesday, July 23, 2013 10:15 PM
> To: Bhushan Bharat-R65777
> Cc: Wood Scott-B07421; Alexander Graf; kvm-...@vger.kernel.org;
> kvm@vger.kernel.org
> Subject: Re: [PATCH 2/2 v2] kvm: powerpc: set cache coherency only for kernel
> mana
On 07/22/2013 10:39:16 PM, Bhushan Bharat-R65777 wrote:
> -Original Message-
> From: Wood Scott-B07421
> Sent: Tuesday, July 23, 2013 12:18 AM
> To: Bhushan Bharat-R65777
> Cc: Wood Scott-B07421; Alexander Graf; kvm-...@vger.kernel.org;
> kvm@vger.kernel.org
> Subject: Re: [PATCH 2/2 v2
Hi
Please, send any topic that you are interested in covering.
Thanks, Juan.
PD. If you want to attend and you don't have the call details,
contact me.
PD2. Remember that conference code has changed, contact me if you don't
receive the details.
--
To unsubscribe from this list: se
- Or how to confuse dates: I am very good at it (quintela)
Sorry again.
- Organizational trivia: We are changing the call number details
If you don't receive an invite in the following days, let me now.
- s390: has different reset interfaces
(only cpus, also memory, some devices)
They
On Tue, Jul 16, 2013 at 8:21 PM, Myron Stowe wrote:
> Linux Plumbers has approved an ACPI/PM, PCI microconference. The
> overview page is here:
>
> http://wiki.linuxplumbersconf.org/2013:pci_subsystem
>
> We would like to start receiving volunteers for presenting topics of
> interest. There is a
On Tue, Jul 23, 2013 at 11:41:14AM +0100, Catalin Marinas wrote:
> On Mon, Jul 22, 2013 at 01:51:52PM +0100, Christoffer Dall wrote:
> > On 22 July 2013 10:53, Raghavendra KT
> > wrote:
> > > On Fri, Jul 19, 2013 at 7:23 PM, Marc Zyngier
> > > wrote:
> > >> So far, when a guest executes WFE (li
On 07/23/2013 04:16 AM, Paolo Bonzini wrote:
>
> That's nicer, though strcmp is what the replaced code used to do in
> patches 2 and 3.
>
> Note that memcmp requires the caller to use "KVMKVMKVM\0\0" as the
> signature (or alternatively hypervisor_cpuid_base can copy the argument
> into another 1
On Tue, Jul 23, 2013 at 05:41:03PM +0800, Jason Wang wrote:
> Switch to use hypervisor_cpuid_base() to detect Xen.
>
> Cc: Konrad Rzeszutek Wilk
Acked-by: Konrad Rzeszutek Wilk
> Cc: Jeremy Fitzhardinge
> Cc: Thomas Gleixner
> Cc: Ingo Molnar
> Cc: "H. Peter Anvin"
> Cc: x...@kernel.org
> C
On Mon, Jul 22, 2013 at 11:50:16AM +0530, Raghavendra K T wrote:
> +static void kvm_lock_spinning(struct arch_spinlock *lock, __ticket_t want)
> +{
> + struct kvm_lock_waiting *w;
> + int cpu;
> + u64 start;
> + unsigned long flags;
> +
Why don't you bailout if in nmi here like we d
On 07/23/2013 06:55 AM, KY Srinivasan wrote:
>
> This strategy of hypervisor detection based on some detection order IMHO is
> not
> a robust detection strategy. The current scheme works since the only
> hypervisor emulated
> (by other hypervisors happens to be Hyper-V). What if this were to cha
We have received numerous requests to extend the CFP deadline and so
we are happy to announce that the CFP deadline has been moved by two
weeks to August 4th.
=
KVM Forum 2013: Call For Participation
October 21-23, 2013 - Edinburgh I
> -Original Message-
> From: Jason Wang [mailto:jasow...@redhat.com]
> Sent: Tuesday, July 23, 2013 5:41 AM
> To: t...@linutronix.de; mi...@redhat.com; h...@zytor.com; x...@kernel.org;
> g...@redhat.com; pbonz...@redhat.com; kvm@vger.kernel.org; linux-
> ker...@vger.kernel.org
> Cc: Jason
Juan Quintela wrote:
> Juan Quintela wrote:
>> Hi
>>
>> Please, send any topic that you are interested in covering.
>>
>> Thanks, Juan.
>>
>> PD. If you want to attend and you don't have the call details,
>> contact me.
>
> I got the wrong day.
>
> Correct date was today (2013-07-22).
>
>
On Tue, Jul 23, 2013 at 05:41:02PM +0800, Jason Wang wrote:
> This patch introduce hypervisor_cpuid_base() which loop test the hypervisor
> existence function until the signature match and check the number of leaves if
> required. This could be used by Xen/KVM guest to detect the existence of
> hyp
Can you try the latest drivers:
http://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/
Best regards,
Yan.
On Jul 23, 2013, at 8:24 AM, Gordon Messmer wrote:
> On 07/21/2013 03:32 AM, Yan Vugenfirer wrote:
>> Can you provide results with iperf or netperf?
>
> Actually, iperf seems to o
On Tue, Jul 16, 2013 at 11:09:30AM +0800, Tiejun Chen wrote:
> The SOFT_DISABLE_INTS seems an odd name for something that updates the
> software state to be consistent with interrupts being hard disabled, so
> rename SOFT_DISABLE_INTS with RECONCILE_IRQ_STATE to avoid this confusion.
Yes!
I have
Juan Quintela wrote:
> Hi
>
> Please, send any topic that you are interested in covering.
>
> Thanks, Juan.
>
> PD. If you want to attend and you don't have the call details,
> contact me.
I got the wrong day.
Correct date was today (2013-07-22).
Sorry for the confusion.
Later, Juan.
On 23 July 2013 08:55, Christian Borntraeger wrote:
> - soft reset and other reset variants. What is the right way to go?
> (e.g. on s390 there are several reset variants that reset a defined subset of
> the
> system. This can be triggered by operating systems, e.g. kdump uses a diagnose
> instru
On 23.07.2013 13:50, Paolo Bonzini wrote:
Il 22/07/2013 22:57, Zlatko Calusic ha scritto:
I'm getting a lot of these in kernel 3.11.0-rc1:
Jul 19 19:53:06 ps kernel: kvm: zapping shadow pages for mmio generation
wraparound
Jul 19 22:37:47 ps kernel: kvm: zapping shadow pages for mmio generation
Il 22/07/2013 22:57, Zlatko Calusic ha scritto:
> I'm getting a lot of these in kernel 3.11.0-rc1:
>
> Jul 19 19:53:06 ps kernel: kvm: zapping shadow pages for mmio generation
> wraparound
> Jul 19 22:37:47 ps kernel: kvm: zapping shadow pages for mmio generation
> wraparound
> Jul 20 00:07:24 ps
Il 23/07/2013 11:41, Jason Wang ha scritto:
> Recent kvm has some basic support of hyperv, this will cause the guest to
> identify itself as running on top of hyperv instead of kvm which will disable
> kvm pv functionality. This is because we try to detect hyperv before kvm.
> Solve
> this by simp
Il 23/07/2013 11:41, Jason Wang ha scritto:
> Switch to use hypervisor_cpuid_base() to detect KVM.
>
> Cc: Gleb Natapov
> Cc: Paolo Bonzini
> Cc: Thomas Gleixner
> Cc: Ingo Molnar
> Cc: "H. Peter Anvin"
> Cc: x...@kernel.org
> Cc: kvm@vger.kernel.org
> Signed-off-by: Jason Wang
> ---
> arch
Il 23/07/2013 11:41, Jason Wang ha scritto:
> Switch to use hypervisor_cpuid_base() to detect Xen.
>
> Cc: Konrad Rzeszutek Wilk
> Cc: Jeremy Fitzhardinge
> Cc: Thomas Gleixner
> Cc: Ingo Molnar
> Cc: "H. Peter Anvin"
> Cc: x...@kernel.org
> Cc: Paolo Bonzini
> Cc: xen-de...@lists.xensource.
Il 23/07/2013 12:04, H. Peter Anvin ha scritto:
> On 07/23/2013 02:41 AM, Jason Wang wrote:
>>
>> +static inline uint32_t hypervisor_cpuid_base(const char *sig, uint32_t
>> leaves)
>> +{
>> +uint32_t base, eax, ebx, ecx, edx;
>> +char signature[13];
>> +
>> +for (base = 0x4000; b
> -Original Message-
> From: Wood Scott-B07421
> Sent: Thursday, July 18, 2013 10:48 PM
> To: Bhushan Bharat-R65777
> Cc: kvm-...@vger.kernel.org; kvm@vger.kernel.org; ag...@suse.de; Bhushan
> Bharat-
> R65777
> Subject: Re: [PATCH 2/2 v2] kvm: powerpc: set cache coherency only for kerne
On Mon, Jul 22, 2013 at 01:51:52PM +0100, Christoffer Dall wrote:
> On 22 July 2013 10:53, Raghavendra KT wrote:
> > On Fri, Jul 19, 2013 at 7:23 PM, Marc Zyngier wrote:
> >> So far, when a guest executes WFE (like when waiting for a spinlock
> >> to become unlocked), we don't do a thing and let
On 07/23/2013 02:41 AM, Jason Wang wrote:
>
> +static inline uint32_t hypervisor_cpuid_base(const char *sig, uint32_t
> leaves)
> +{
> + uint32_t base, eax, ebx, ecx, edx;
> + char signature[13];
> +
> + for (base = 0x4000; base < 0x4001; base += 0x100) {
> + cpui
Switch to use hypervisor_cpuid_base() to detect Xen.
Cc: Konrad Rzeszutek Wilk
Cc: Jeremy Fitzhardinge
Cc: Thomas Gleixner
Cc: Ingo Molnar
Cc: "H. Peter Anvin"
Cc: x...@kernel.org
Cc: Paolo Bonzini
Cc: xen-de...@lists.xensource.com
Cc: virtualizat...@lists.linux-foundation.org
Signed-off-by:
This patch introduce hypervisor_cpuid_base() which loop test the hypervisor
existence function until the signature match and check the number of leaves if
required. This could be used by Xen/KVM guest to detect the existence of
hypervisor.
Cc: Thomas Gleixner
Cc: Ingo Molnar
Cc: "H. Peter Anvin"
Switch to use hypervisor_cpuid_base() to detect KVM.
Cc: Gleb Natapov
Cc: Paolo Bonzini
Cc: Thomas Gleixner
Cc: Ingo Molnar
Cc: "H. Peter Anvin"
Cc: x...@kernel.org
Cc: kvm@vger.kernel.org
Signed-off-by: Jason Wang
---
arch/x86/include/asm/kvm_para.h | 17 ++---
1 files change
Recent kvm has some basic support of hyperv, this will cause the guest to
identify itself as running on top of hyperv instead of kvm which will disable
kvm pv functionality. This is because we try to detect hyperv before kvm. Solve
this by simply checking kvm in detect_hypervisor() first.
Cc: Thom
On 07/23/2013 12:23 PM, Alex Williamson wrote:
> On Tue, 2013-07-16 at 10:53 +1000, Alexey Kardashevskiy wrote:
>> VFIO is designed to be used via ioctls on file descriptors
>> returned by VFIO.
>>
>> However in some situations support for an external user is required.
>> The first user is KVM on P
On 23/07/13 08:33, Juan Quintela wrote:
>
> Hi
>
> Please, send any topic that you are interested in covering.
- soft reset and other reset variants. What is the right way to go?
(e.g. on s390 there are several reset variants that reset a defined subset of
the
system. This can be triggered by o
55 matches
Mail list logo