[Qemu-devel] SVM processor state flag

2017-04-26 Thread Anand J
Hi All, Is there any register flag in SVM enabled processors to figure out the running mode of that processor in order to differentiate between hypervisor execution and guest OS execution? Also can context switch happen while a processor executes KVM code? If yes, how is the state of the

[Qemu-devel] [Bug 1653419] [NEW] SVM emulation fails due to EIP and FLAG register update optimization

2017-01-01 Thread Anand J
Public bug reported: SVM emulation support has a bug due to which causes KVM emulation error when qemu-kvm is run over KVM installed on top of QEmu in software mode. Steps to reproduce 1. Run KVM inside QEmu(software mode with SVM emulation support). Make sure kvm_amd is

[Qemu-devel] [PATCH] ppc: add appropriate warning message for qemu_find_file() NULL return

2016-11-17 Thread Anand J
Add check for qemu_find_file() NULL return and throw a warning message can provide better visibility to the upcoming error message if any. Signed-off-by: Anand J <anand.induk...@gmail.com> --- hw/ppc/e500.c | 3 +++ hw/ppc/mac_newworld.c | 3 +++ hw/ppc/mac_oldworld.c | 3 +++

Re: [Qemu-devel] facing issue with qemu amd-v support

2016-11-14 Thread Anand J
? Thanks, Anand On Mon, Oct 24, 2016 at 2:35 PM, Anand J <anand.induk...@gmail.com> wrote: > > -- Forwarded message ------ > From: Anand J <anand.induk...@gmail.com> > Date: Mon, Oct 24, 2016 at 4:28 AM > Subject: facing issue with qemu amd-v support > To: qe

Re: [Qemu-devel] vt-x support for qemu

2016-10-24 Thread Anand J
00 00 00 00 00 00 <00> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Thanks, Anand On Wed, Oct 12, 2016 at 5:35 PM, Paolo Bonzini <pbonz...@redhat.com> wrote: > > > On 12/10/2016 14:03, Anand J wrote: > > I'm doing this as

Re: [Qemu-devel] [PATCH v4 0/2] Script changes to find duplicate #include entries

2016-10-24 Thread Anand J
ping On Fri, Oct 21, 2016 at 12:27 PM, Anand J <anand.induk...@gmail.com> wrote: > There were some files in the code base with multiple inclusion of the same > header files. > Following changes are made to mitigate this issue. > > 1) --check-dup-head option is added

[Qemu-devel] Fwd: facing issue with qemu amd-v support

2016-10-24 Thread Anand J
-- Forwarded message -- From: Anand J <anand.induk...@gmail.com> Date: Mon, Oct 24, 2016 at 4:28 AM Subject: facing issue with qemu amd-v support To: qemu-disc...@nongnu.org Hi, I'm running fedora-24_x86_64 inside qemu in software mode. I configured KVM in the guest OS an

[Qemu-devel] [PATCH v4 2/2] clean-up: removed duplicate #includes

2016-10-21 Thread Anand J
Some files contain multiple #includes of the same header file. Removed most of those unnecessary duplicate entries using scripts/clean-includes. Reviewed-by: Thomas Huth <th...@redhat.com> Signed-off-by: Anand J <anand.induk...@gmail.com> --- accel.c | 1

[Qemu-devel] [PATCH v4 0/2] Script changes to find duplicate #include entries

2016-10-21 Thread Anand J
#includes in the future. 2) Removed most of the duplicate entries currently present in the code base using the script. Anand J (2): scripts/clean-includes: added duplicate #include check clean-up: removed duplicate #includes accel.c | 1 - cputlb.c

[Qemu-devel] [PATCH v4 1/2] scripts/clean-includes: added duplicate #include check

2016-10-21 Thread Anand J
be checked manually and corrected if necessary. In order to enable the check use --check-dup-head option with scripts/clean-includes. Reviewed-by: Thomas Huth <th...@redhat.com> Signed-off-by: Anand J <anand.induk...@gmail.com> --- scripts/clean-i

[Qemu-devel] [PATCH v3 2/2] clean-up: removed duplicate #includes

2016-10-20 Thread Anand J
Some files contain multiple #includes of the same header file. Removed most of those unnecessary duplicate entries using scripts/clean-includes. Reviewed-by: Thomas Huth <th...@redhat.com> Signed-off-by: Anand J <anand.induk...@gmail.com> --- accel.c | 1

[Qemu-devel] [PATCH v3 1/2] scripts/clean-includes: added duplicate #include check

2016-10-20 Thread Anand J
with an exit status 1. Then each and every file should be checked manually and corrected if necessary. In order to enable the check use --check-dup-head option with scripts/clean-includes. Reviewed-by: Thomas Huth <th...@redhat.com> Signed-off-by: Anand J <anand.induk...@gmail.com> --- s

[Qemu-devel] [PATCH v3 0/2] Script changes to find duplicate #include entries

2016-10-20 Thread Anand J
#includes in the future. 2) Removed most of the duplicate entries currently present in the code base using the script. Anand J (2): scripts/clean-includes: added duplicate #include check clean-up: removed duplicate #includes accel.c | 1 - cputlb.c

Re: [Qemu-devel] [PATCH 2/2] clean-up: removed duplicate #includes

2016-10-20 Thread Anand J
send a new patch. please check http://patchwork.ozlabs.org/patch/684532/ Thanks, Anand On Thu, Oct 20, 2016 at 2:41 PM, Thomas Huth <th...@redhat.com> wrote: > On 18.10.2016 14:39, Anand J wrote: > > > > > > On Tue, Oct 18, 2016 at 4:03 PM, Anand

Re: [Qemu-devel] [PATCH 1/2] script/clean-includes: added duplicate #include check

2016-10-20 Thread Anand J
send a new patch. please check http://patchwork.ozlabs.org/patch/684533/ Thanks, Anand On Thu, Oct 20, 2016 at 2:38 PM, Thomas Huth <th...@redhat.com> wrote: > On 18.10.2016 14:38, Anand J wrote: > > > > > > On Tue, Oct 18, 2016 at 4:03 PM, Anand

[Qemu-devel] [PATCH 1/2] script/clean-includes: added duplicate #include check

2016-10-20 Thread Anand J
with an exit status 1. Then each and every file should be checked manually and corrected if necessary. In order to enable the check use --check-duphead option with script/clean-includes. Reviewed-by: Thomas Huth <th...@redhat.com> Signed-off-by: Anand J <anand.induk...@gmail.com> --- scripts/cl

[Qemu-devel] [PATCH 2/2] clean-up: removed duplicate #includes

2016-10-20 Thread Anand J
Some files contain multiple #includes of the same header file. Removed most of those unnecessary duplicate entries using scripts/clean-includes. Reviewed-by: Thomas Huth <th...@redhat.com> Signed-off-by: Anand J <anand.induk...@gmail.com> --- accel.c | 1

Re: [Qemu-devel] [PATCH 2/2] clean-up: removed duplicate #includes

2016-10-18 Thread Anand J
On Tue, Oct 18, 2016 at 4:03 PM, Anand J <anand.induk...@gmail.com> wrote: > Some files contain multiple #includes of the same header file. > Removed most of those unnecessary duplicate entries using > scripts/clean-includes. > > Signed-off-by: Anand J <anand.induk...@gma

Re: [Qemu-devel] [PATCH 1/2] script/clean-includes: added duplicate #include check

2016-10-18 Thread Anand J
On Tue, Oct 18, 2016 at 4:03 PM, Anand J <anand.induk...@gmail.com> wrote: > Added script to check duplicate #include entries. This check will scan > and print the files in which duplicate #include entries are present. > > Script might output false positive entries as well. S

[Qemu-devel] [PATCH 2/2] clean-up: removed duplicate #includes

2016-10-18 Thread Anand J
Some files contain multiple #includes of the same header file. Removed most of those unnecessary duplicate entries using scripts/clean-includes. Signed-off-by: Anand J <anand.induk...@gmail.com> --- accel.c | 1 - cputlb.c| 1 - gdb

[Qemu-devel] [PATCH 1/2] script/clean-includes: added duplicate #include check

2016-10-18 Thread Anand J
with an exit status 1. Then each and every file should be checked manually and corrected if necessary. In order to enable the check use --check-duphead option with script/clean-includes. Signed-off-by: Anand J <anand.induk...@gmail.com> --- scripts/clean-include

Re: [Qemu-devel] [PATCH] script/clean-includes: added duplicate #include check

2016-10-18 Thread Anand J
On Thu, Oct 13, 2016 at 12:10 AM, Anand J <anand.induk...@gmail.com> wrote: > Added script to check duplicate #include entries. This check will scan and > print the files in which duplicate #include entries are present. > > Script might output false postive entries as well. S

[Qemu-devel] -Werror=tautological-compare error with -save-temps on fedora 24 gcc 6.2.1

2016-10-16 Thread Anand J
Hi, I'm using gcc 6.2.1 for compiling qemu with following options in Fedora 24 ../../../configure --enable-debug --extra-cflags="-save-temps" make and getting following error. * CC ui/gtk.o* *qemu/ui/gtk.c: In function ‘gd_map_keycode’:* *qemu/ui/gtk.c:1030:21: error: self-comparison

[Qemu-devel] [PATCH] script/clean-includes: added duplicate #include check

2016-10-12 Thread Anand J
duplicate entries in the code base. Signed-off-by: Anand J <anand.induk...@gmail.com> --- accel.c | 1 - cputlb.c| 1 - gdbstub.c | 1 - hw/i386/acpi-build.c| 1 - hw/microblaze/

Re: [Qemu-devel] vt-x support for qemu

2016-10-12 Thread Anand J
com> wrote: > > > On 12/10/2016 13:34, Anand J wrote: > > Thanks for replying. Can you please tell me where should I start looking > > at the code in order to understand the implementation? > > My immediate answer is that if you cannot find it, you'll have a hard > t

Re: [Qemu-devel] vt-x support for qemu

2016-10-12 Thread Anand J
Thanks for replying. Can you please tell me where should I start looking at the code in order to understand the implementation? Thanks, Anand On Wed, Oct 12, 2016 at 4:27 PM, Paolo Bonzini <pbonz...@redhat.com> wrote: > > > On 11/10/2016 20:41, Anand J wrote: > > I wa

Re: [Qemu-devel] vt-x support for qemu

2016-10-11 Thread Anand J
I want to run KVM on qemu. For this qemu must provide vt-x/amd-v instruction support in the software mode. I was planning to try to add this feature in qemu. If somebody is already working on it please reply. Thanks, Anand On Mon, Oct 10, 2016 at 9:48 PM, Anand J <anand.induk...@gmail.com>

[Qemu-devel] vt-x support for qemu

2016-10-10 Thread Anand J
Hi, Does qemu provide support for hardware assisted virtualization now? If not, is anybody working on it? Thanks, Anand

Re: [Qemu-devel] [PATCH] clean-up: removed duplicate #includes

2016-10-09 Thread Anand J
On Sun, Oct 9, 2016 at 3:04 AM, Eric Blake <ebl...@redhat.com> wrote: > On 10/08/2016 06:32 AM, Anand J wrote: > > I have replied for the questions inline. Also I'll make changes to the > > patch as per the review and send the updated one. > > > > Thanks, >

Re: [Qemu-devel] [PATCH] clean-up: removed duplicate #includes

2016-10-08 Thread Anand J
I have replied for the questions inline. Also I'll make changes to the patch as per the review and send the updated one. Thanks, Anand On Fri, Oct 7, 2016 at 8:01 PM, Eric Blake <ebl...@redhat.com> wrote: > On 10/07/2016 03:46 AM, Anand J wrote: > > Some files contain mul

[Qemu-devel] [PATCH] clean-up: removed duplicate #includes

2016-10-07 Thread Anand J
Some files contain multiple #includes of the same header file. Removed most of those unnecessary duplicate entries. Signed-off-by: Anand J <anand.induk...@gmail.com> --- accel.c | 1 - cputlb.c| 1 - disas/libvixl/vixl/globals.h