Hi all,
Since on X86, bios is always at the end of the address space, so I
have some thought about how to implement the seabios support for kvm
tool.
1. using kvm__register_mem to map the end of address space to the
guest then copy the code of seabios to this mem region. Just emulating
the bios c
Signed-off-by: Yang Bai
---
tools/kvm/.gitignore |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/tools/kvm/.gitignore b/tools/kvm/.gitignore
index be6c6f2..60dd6db 100644
--- a/tools/kvm/.gitignore
+++ b/tools/kvm/.gitignore
@@ -8,4 +8,5 @@ include/common-cmds.h
tests
Hi all,
As I know, native tool does not support loading BIOS so it does not
support Windows. Is this supporting now?
If not, I may try to implement it.
Thanks,
Yang
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordo
By checking the return value from kvm_ipc__register_handler,
we can ensure that it succeeds.
Signed-off-by: Yang Bai
---
tools/kvm/kvm.c |8 +++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/tools/kvm/kvm.c b/tools/kvm/kvm.c
index f02d5df..99bcef4 100644
--- a/tools
If kvm_ipc__start failed, it returns a negative and by checking
this return value, we can ensure that it succeeds.
Signed-off-by: Yang Bai
---
tools/kvm/kvm-ipc.c | 38 --
tools/kvm/kvm.c |7 ++-
2 files changed, 38 insertions(+), 7 deletions
When error occurs, just set the ret to the reason,
then jump to the error handle labels.
This makes the code more readable.
Signed-off-by: Yang Bai
---
tools/kvm/kvm.c | 11 ++-
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/tools/kvm/kvm.c b/tools/kvm/kvm.c
index
If kvm__check_extensions found that some of the required
KVM extention is not supported by OS, we should stop the
init and free all allocated resources.
Signed-off-by: Yang Bai
---
tools/kvm/kvm.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/tools/kvm/kvm.c b/tools
On Fri, Feb 10, 2012 at 12:17 PM, Sasha Levin wrote:
> On Fri, 2012-02-10 at 11:03 +0800, Yang Bai wrote:
>> On Fri, Feb 10, 2012 at 12:53 PM, Sasha Levin
>> wrote:
>> > On Fri, 2012-02-10 at 10:34 +0800, Yang Bai wrote:
>> >> On Thu, Feb 9, 2012 at 9:
On Fri, Feb 10, 2012 at 12:53 PM, Sasha Levin wrote:
> On Fri, 2012-02-10 at 10:34 +0800, Yang Bai wrote:
>> On Thu, Feb 9, 2012 at 9:07 PM, Cyrill Gorcunov wrote:
>> > On Thu, Feb 09, 2012 at 03:01:26PM +0200, Pekka Enberg wrote:
>> >> On Thu, Feb 9, 20
On Thu, Feb 9, 2012 at 9:07 PM, Cyrill Gorcunov wrote:
> On Thu, Feb 09, 2012 at 03:01:26PM +0200, Pekka Enberg wrote:
>> On Thu, Feb 9, 2012 at 7:40 AM, Yang Bai wrote:
>> > Since the different issues have been handled in the
>> > internal of kvm__init, it ca
Since the different issues have been handled in the
internal of kvm__init, it can only return NULL if error
happened.
Signed-off-by: Yang Bai
---
tools/kvm/builtin-run.c |4 ++--
tools/kvm/kvm.c | 20 +++-
2 files changed, 9 insertions(+), 15 deletions(-)
diff
On Sat, Dec 24, 2011 at 12:16 PM, wrote:
> The Buildbot has detected a new failure on builder i386 while building kvm.
> Full details are available at:
> http://buildbot.b1-systems.de/kvm/builders/i386/builds/401
>
> Buildbot URL: http://buildbot.b1-systems.de/kvm/
>
> Buildslave for this Build:
commit 08a95a511af91a2a6c42f2a8f13b99402a39e84b checksdevice
assignment permission but forgot to include thedefinition of
MAY_{READ,WRITE,ACCESS} in linux/fs.hInclude it and this fix the build
error here:http://buildbot.b1-systems.de/kvm/builders/i386/builds/401
Signed-off-by: Yang Bai --- virt
On Sat, Dec 24, 2011 at 1:22 PM, Yang Bai wrote:
> commit 08a95a511af91a2a6c42f2a8f13b99402a39e84b checksdevice
> assignment permission but forgot to include thedefinition of
> MAY_{READ,WRITE,ACCESS} in linux/fs.hInclude it and this fix the build
> error here:http://buildbot.b1-sy
commit 08a95a511af91a2a6c42f2a8f13b99402a39e84b checksdevice
assignment permission but forgot to include thedefinition of
MAY_{READ,WRITE,ACCESS} in linux/fs.hInclude it and this fix the build
error here:http://buildbot.b1-systems.de/kvm/builders/i386/builds/401
Signed-off-by: Yang Bai --- virt
15 matches
Mail list logo