Rusty Russell wrote:
> Hi all,
>
>Just finished my prototype of inter-guest virtio, using networking as an
> example. Each guest mmaps the other's address space and uses a FIFO for
> notifications.
>
>
Isn't that a security hole (hole? chasm)? If the two guests can access
each other's
We open two FIFOs, mmap the other Guests' memory, and copy between
their send queue and our Guest's receive queue. A one-char byte is
used to notify the other Guest about virtqueue activity.
Note the FIXMEs, and the fact that we don't suppress notifications
even when we could (based on the flags
Currently the lguest Launcher aborts when a Guest puts something bogus
in a virtio queue. If we want to deal with other (untrusted) Guests'
queues, that's a bad idea: simply print a warning and ignore it from
now on.
Signed-off-by: Rusty Russell <[EMAIL PROTECTED]>
---
Documentation/lguest/lgues
Avi Kivity wrote:
> Zhang, Xiantao wrote:
>> Hi, Avi
>> Currently, make sync in userspace only syncs x86-specific heads from
>> kernel source due to hard-coded in Makefile.
>> Do you have plan to provide cross-arch support for that?
>
> No plans. I'll apply patches though. But don't you need ker
To deal with other Guest's virtqueue, we need to separate out the
parts of the structure which deal with the actual virtqueue from
configuration information and the device. Then we can change the
virtqueue descriptor handling functions to take that smaller
structure.
Signed-off-by: Rusty Russell
We currently keep Guest memory pointer and size in globals. We move
this into a structure and explicitly hand that to to_guest_phys() and
from_guest_phys() so we can deal with other Guests' memory.
Signed-off-by: Rusty Russell <[EMAIL PROTECTED]>
---
Documentation/lguest/lguest.c | 89
From: Paul TBBle Hampson <[EMAIL PROTECTED]>
This creates a file in $HOME/.lguest/ to directly back the RAM and DMA memory
mappings created by map_zeroed_pages.
Signed-off-by: Rusty Russell <[EMAIL PROTECTED]>
---
Documentation/lguest/lguest.c | 59 --
1
Hi all,
Just finished my prototype of inter-guest virtio, using networking as an
example. Each guest mmaps the other's address space and uses a FIFO for
notifications.
There are two issues with this approach. The first is that neither guest
can change its mappings. See patch 1. The s
Zhang, Xiantao wrote:
> Hi, Avi
> Currently, make sync in userspace only syncs x86-specific heads from
> kernel source due to hard-coded in Makefile.
> Do you have plan to provide cross-arch support for that?
No plans. I'll apply patches though. But don't you need kernel changes
which make it
On Thursday 20 March 2008 12:35:04 Anthony Liguori wrote:
> Make sure to call unregister_virtio_device() when a virtio device is
> removed. Otherwise, virtio_pci.ko cannot be rmmod'd.
>
> This was spotted by Marcelo Tosatti.
>
> Signed-off-by: Anthony Liguori <[EMAIL PROTECTED]>
Thanks, applied.
Backport of the virtio drivers to RHEL4.
The patch applies against the kvm-guest-drivers-linux-1 release but also
contains diffs for Anthony's spin_lock_irqsave/restore patch. Of note is
that to build for RHEL4 Makefile is renamed to Makefile-2.6 so that Makefile
can contain the build rules for th
From: Xiantao Zhang <[EMAIL PROTECTED]>
Date: Thu, 20 Mar 2008 10:17:29 +0800
Subject: [PATCH] kvm:qemu: qemu_system_cpu_hot_add not supported for
ia64.
Comment it out first for ia64 build.
Signed-off-by: Xiantao Zhang <[EMAIL PROTECTED]>
---
qemu/hw/acpi.c |4 ++--
1 files changed, 2 inserti
Hi, Avi
Currently, make sync in userspace only syncs x86-specific heads from
kernel source due to hard-coded in Makefile.
Do you have plan to provide cross-arch support for that? Other archs may
need it for save/restore :)
Thanks
Xiantao
--
Make sure to call unregister_virtio_device() when a virtio device is removed.
Otherwise, virtio_pci.ko cannot be rmmod'd.
This was spotted by Marcelo Tosatti.
Signed-off-by: Anthony Liguori <[EMAIL PROTECTED]>
diff --git a/drivers/virtio/virtio_pci.c b/drivers/virtio/virtio_pci.c
index 59a8f73..
While exploring the PCI hotplug code recently posted, I encountered a
situation where I don't believe the current behavior is ideal. With
hotplug, we can add additional pci-based nic devices like e1000 and
rtl8139 from the qemu monitor. If one mistakenly specifies model=ne2000
(the ISA version),
You need this patch to address the issues (that I already mentioned when I
sent the patch to you). New EMM notifier patch with sleeping coming soon.
From: Christoph Lameter <[EMAIL PROTECTED]>
Subject: Move tlb flushing into free_pgtables
Move the tlb flushing into free_pgtables. The conversion
# HG changeset patch
# User Jerone Young <[EMAIL PROTECTED]>
# Date 1205956788 18000
# Branch merge
# Node ID 127fe3c94ee7f90397b6f921d600c4a6f7237a10
# Parent 947b9350740ee49956b4e4720c313ac8a18b811e
Add dynamic device tree manipulation & change uboot loader for PPC bamboo board
model
This patc
# HG changeset patch
# User Jerone Young <[EMAIL PROTECTED]>
# Date 1205956788 18000
# Branch merge
# Node ID e106ad4ec36334a0e2158a1396b4cbfbfeeb552e
# Parent cd9ca907432cd14522809f098cc64d5a2b88705b
Create new load_uimage() & gunzip support to uboot loader in Qemu
This patch adds the ability fo
# HG changeset patch
# User Jerone Young <[EMAIL PROTECTED]>
# Date 1205956788 18000
# Branch merge
# Node ID 51914bbfa0257601c5074a632da11463c26e8f06
# Parent ce00438069e7a2fe5be55270b99583e8577ccd50
Add ability to specify ram on command line for bamboo board model
This patch adds the ability to
# HG changeset patch
# User Jerone Young <[EMAIL PROTECTED]>
# Date 1205956788 18000
# Branch merge
# Node ID cd9ca907432cd14522809f098cc64d5a2b88705b
# Parent af2d7781613d1bde6d0d48cf400b8b18ded19009
Add libfdt support to qemu
This patch libfdt support into the qemu configuation script. There is
# HG changeset patch
# User Jerone Young <[EMAIL PROTECTED]>
# Date 1205956788 18000
# Branch merge
# Node ID 947b9350740ee49956b4e4720c313ac8a18b811e
# Parent e106ad4ec36334a0e2158a1396b4cbfbfeeb552e
Add PPC 440EP bamboo board device tree source & binary into qemu
This patch places the bamboo de
# HG changeset patch
# User Jerone Young <[EMAIL PROTECTED]>
# Date 1205956788 18000
# Branch merge
# Node ID ce00438069e7a2fe5be55270b99583e8577ccd50
# Parent 127fe3c94ee7f90397b6f921d600c4a6f7237a10
Modify PPC bamboo & ppc440 board models
This patch renames pp440_init to ppc440ep_init, as ppc44
Fix big bug found by Anthony, as well formating comments that he commented on.
Bombs away!
This set of patches enables the following:
-Device tree Support
- Add libfdt to kvm-userspace
- Add bamboo device tree to qemu source
- Detection of ho
On Wed, 2008-03-19 at 14:30 -0500, Anthony Liguori wrote:
> Jerone Young wrote:
> > # HG changeset patch
> > # User Jerone Young <[EMAIL PROTECTED]>
> > # Date 1205953012 18000
> > # Branch merge
> > # Node ID 8e9da5ddf159eb6cf5a292ccbf5f735103b493ef
> > # Parent 03925441312877b8350e4af68e475d5d74
Jerone Young wrote:
> # HG changeset patch
> # User Jerone Young <[EMAIL PROTECTED]>
> # Date 1205953012 18000
> # Branch merge
> # Node ID 8e9da5ddf159eb6cf5a292ccbf5f735103b493ef
> # Parent 03925441312877b8350e4af68e475d5d746304d4
> Add dynamic device tree manipulation & change uboot loader for
>
> -cpu_physical_memory_write_rom(hdr->ih_load, data, hdr->ih_size);
> -
> -return hdr->ih_size;
> +tmp_loaded_image_size = hdr->ih_size;
> +
> +if (hdr->ih_comp == IH_COMP_GZIP) {
> +uncompressed_data = qemu_malloc(MAX_KERNEL_SIZE);
> +ret = gunzip(uncompres
# HG changeset patch
# User Jerone Young <[EMAIL PROTECTED]>
# Date 1205953014 18000
# Branch merge
# Node ID 1facd867795ba61a65f451047a2982457b9e02ab
# Parent f625aa6f92329c0069492849a389f41d024d479b
Add ability to specify ram on command line for bamboo board model
This patch adds the ability to
# HG changeset patch
# User Jerone Young <[EMAIL PROTECTED]>
# Date 1205953012 18000
# Branch merge
# Node ID 8e9da5ddf159eb6cf5a292ccbf5f735103b493ef
# Parent 03925441312877b8350e4af68e475d5d746304d4
Add dynamic device tree manipulation & change uboot loader for PPC bamboo board
model
This patc
# HG changeset patch
# User Jerone Young <[EMAIL PROTECTED]>
# Date 1205953011 18000
# Branch merge
# Node ID 03925441312877b8350e4af68e475d5d746304d4
# Parent 05d6146c77066b2bc0dd8349ee39636bc303628d
Add PPC 440EP bamboo board device tree source & binary into qemu
This patch places the bamboo de
# HG changeset patch
# User Jerone Young <[EMAIL PROTECTED]>
# Date 1205953013 18000
# Branch merge
# Node ID f625aa6f92329c0069492849a389f41d024d479b
# Parent 8e9da5ddf159eb6cf5a292ccbf5f735103b493ef
Modify PPC bamboo & ppc440 board models
This patch renames pp440_init to ppc440ep_init, as ppc44
# HG changeset patch
# User Jerone Young <[EMAIL PROTECTED]>
# Date 1205952857 18000
# Branch merge
# Node ID be1aa50ab7de0a9e0441e46769e2a40a582fc3c0
# Parent 20c62a22bfaeca9f01439b96b7159b725fff0dcd
Add libfdt support to qemu
This patch libfdt support into the qemu configuation script. There is
# HG changeset patch
# User Jerone Young <[EMAIL PROTECTED]>
# Date 1205953006 18000
# Branch merge
# Node ID 05d6146c77066b2bc0dd8349ee39636bc303628d
# Parent be1aa50ab7de0a9e0441e46769e2a40a582fc3c0
Create new load_uimage() & gunzip support to uboot loader in Qemu
This patch adds the ability fo
This addresses a bug that was introduced with memory changes as well as
compiler warnings that were fixed by casting. This should stop the spam fest
;-)
This set of patches enables the following:
-Device tree Support
- Add libfdt to kvm-userspace
- Add ba
Yes, my fault. I did. Thanks!!!
-Original Message-
From: Anthony Liguori [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 19, 2008 2:43 PM
To: Leifker, David
Cc: kvm-devel@lists.sourceforge.net
Subject: Re: [kvm-devel] Kvm qemu virtio not supported?
Leifker, David wrote:
>
> I thought
Leifker, David wrote:
>
> I thought I’d try the new paravirtualized network driver however I
> receive an error from qemu about virtuio being unsupported.
>
> Command=> /usr/local/kvm/bin/qemu-system-x86_64 -m 1280 -cdrom
> /virtual_hosts/kvm-driver-disc-20080318.iso \
> -hda /virtual_hosts/windo
I thought I'd try the new paravirtualized network driver however I
receive an error from qemu about virtuio being unsupported.
Command=> /usr/local/kvm/bin/qemu-system-x86_64 -m 1280 -cdrom
/virtual_hosts/kvm-driver-disc-20080318.iso \
-hda /virtual_hosts/windows2003std.img -vnc
This is an general announcement of the release of Enomalism 2.0 (Alpha) Now
Available for Download.
--
Enomaly, Inc. is pleased to announce the Alpha release of the Enomalism
Elastic Computing Platform. The Enomalism v2.0 Alpha has been completely
redeveloped from the ground up and further builds o
On Wed, 2008-03-19 at 09:45 -0500, Jerone Young wrote:
> Add dynamic device tree manipulation & change uboot loader for PPC
> bamboo board model
>
> This patch adds code to dynamically manipulate the device tree when
> loaded into memory. This allows us to finally have the ability to
> manipulate
On Wed, 2008-03-19 at 09:45 -0500, Jerone Young wrote:
> Add ability to specify ram on command line for bamboo board model
I get the following output with this patch:
...
Ram size passed is: 144 MB
WARNING: -368 MB left over memory is ram
...
--
Hollis Blanchard
The only solution thats guaranteed to add at least 2-3 inches to your tool.
http://www.greenlopeis.com/
Peak of sexual prowess-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 200
Dor Laor wrote:
> On Wed, 2008-03-19 at 17:39 +0200, Avi Kivity wrote:
>
>> Anthony Liguori wrote:
>>
>>> Avi Kivity wrote:
>>>
The fourth is probably impossible from userspace (and very
difficult in the kernel).
>>> What makes it impossible to do in usersp
Zdenek Kabelac wrote:
> 2008/3/19, Avi Kivity <[EMAIL PROTECTED]>:
>
>> Zdenek Kabelac wrote:
>> > 2008/3/16, Avi Kivity <[EMAIL PROTECTED]>:
>> >
>> >> Zdenek Kabelac wrote:
>> >> > Hello
>> >> >
>> >> > Recently I'm using qemu-kvm on fedora-rawhide box with my own kernels
>> >> > (w
On Wed, 2008-03-19 at 11:06 -0500, Jerone Young wrote:
> # HG changeset patch
> # User Jerone Young <[EMAIL PROTECTED]>
> # Date 1205942671 18000
> # Branch merge
> # Node ID 782ef2276af9ca360e25e07ec5ac0ec387428397
> # Parent 972f62b6acae693c388d7b05d3a9ba7ef26ab4a0
> Fix undefined refrence of qe
2008/3/19, Avi Kivity <[EMAIL PROTECTED]>:
> Zdenek Kabelac wrote:
> > 2008/3/16, Avi Kivity <[EMAIL PROTECTED]>:
> >
> >> Zdenek Kabelac wrote:
> >> > Hello
> >> >
> >> > Recently I'm using qemu-kvm on fedora-rawhide box with my own kernels
> >> > (with many debug options) I've noticed
On Wed, 2008-03-19 at 17:39 +0200, Avi Kivity wrote:
> Anthony Liguori wrote:
> > Avi Kivity wrote:
> >> The fourth is probably impossible from userspace (and very
> >> difficult in the kernel).
> >
> > What makes it impossible to do in userspace? If you managed a
> > tsc_offset in userspace,
# HG changeset patch
# User Jerone Young <[EMAIL PROTECTED]>
# Date 1205942671 18000
# Branch merge
# Node ID 782ef2276af9ca360e25e07ec5ac0ec387428397
# Parent 972f62b6acae693c388d7b05d3a9ba7ef26ab4a0
Fix undefined refrence of qemu_system_device_hot_add for non x86 archs
This patch fixes it so th
Zdenek Kabelac wrote:
> 2008/3/16, Avi Kivity <[EMAIL PROTECTED]>:
>
>> Zdenek Kabelac wrote:
>> > Hello
>> >
>> > Recently I'm using qemu-kvm on fedora-rawhide box with my own kernels
>> > (with many debug options) I've noticed that over the time my memory
>> > seems to disappear somewhere
I cringed a bit when you suggested the awk script route. It's quite likely that
drivers for older distributions have to be manually updated as needed. I'll post
my RHEL4 version in the next couple of days for comments.
thanks,
david
Anthony Liguori wrote:
> david ahern wrote:
>> Avi Kivity wrote
david ahern wrote:
> Avi Kivity wrote:
>
>> It might be difficult for RHEL 4, which is 2.6.5 based IIRC. If the
>> magic required is more that 500 millithaums, then an independent driver
>> would be better.
>>
>
> RHEL4 is based on 2.6.9.
>
> What do you mean by "magic required is more tha
Anthony Liguori wrote:
> Avi Kivity wrote:
>> The fourth is probably impossible from userspace (and very
>> difficult in the kernel).
>
> What makes it impossible to do in userspace? If you managed a
> tsc_offset in userspace, you would of course need to adjust that
> tsc_offset within the ke
david ahern wrote:
> Avi Kivity wrote:
>
>> It might be difficult for RHEL 4, which is 2.6.5 based IIRC. If the
>> magic required is more that 500 millithaums, then an independent driver
>> would be better.
>>
>
> RHEL4 is based on 2.6.9.
>
> What do you mean by "magic required is more tha
# HG changeset patch
# User Jerone Young <[EMAIL PROTECTED]>
# Date 1205937726 18000
# Branch merge
# Node ID c0a71393d66916148a96e3f2f91d29478fb5d063
# Parent 257410f0c4f7c6fb23d93defb00d92d0ec066fc3
Modify PPC bamboo & ppc440 board models
This patch renames pp440_init to ppc440ep_init, as ppc44
2008/3/16, Avi Kivity <[EMAIL PROTECTED]>:
> Zdenek Kabelac wrote:
> > Hello
> >
> > Recently I'm using qemu-kvm on fedora-rawhide box with my own kernels
> > (with many debug options) I've noticed that over the time my memory
> > seems to disappear somewhere.
> >
> > Here is my memory trace
Avi Kivity wrote:
> It might be difficult for RHEL 4, which is 2.6.5 based IIRC. If the
> magic required is more that 500 millithaums, then an independent driver
> would be better.
RHEL4 is based on 2.6.9.
What do you mean by "magic required is more that 500 millithaums"?
david
-
Addresses even more issues disscussed with Hollis. One thing not changed was a
changing division to logical comparison in patch 3/7. This doesn't seem like it
would work over a divsion, also I don't want to mess around and break code that
has been tested and works anymore.
This set of patches e
# HG changeset patch
# User Jerone Young <[EMAIL PROTECTED]>
# Date 1205937724 18000
# Branch merge
# Node ID 257410f0c4f7c6fb23d93defb00d92d0ec066fc3
# Parent 4a064f92d8fa574cebac4d9b703d0a93c6387cea
Add dynamic device tree manipulation & change uboot loader for PPC bamboo board
model
This patc
Initial release:
- kvm-guest-drivers-linux-1
- kvm-guest-drivers-windows-1
Out of the bunch only Win2000 drivers work.
1. kvm-guest-drivers-linux-1 fail to configure themselves, while
2. XP drivers halt the VM.
I think Yan has newer XP drivers.
-Alexey, 19.3.2008
---
# HG changeset patch
# User Jerone Young <[EMAIL PROTECTED]>
# Date 1205936671 18000
# Branch merge
# Node ID 5371763b15da496413c4e818fb87a92c5e66eb56
# Parent 444d6f28441da70464ba36e9c9ffd863d1c58403
Add libfdt support to qemu
This patch libfdt support into the qemu configuation script. There is
# HG changeset patch
# User Jerone Young <[EMAIL PROTECTED]>
# Date 1205937723 18000
# Branch merge
# Node ID 4a064f92d8fa574cebac4d9b703d0a93c6387cea
# Parent 6bc8a342745dd8fefbe229cc4626144b19786117
Add PPC 440EP bamboo board device tree source & binary into qemu
This patch places the bamboo de
# HG changeset patch
# User Jerone Young <[EMAIL PROTECTED]>
# Date 1205937719 18000
# Branch merge
# Node ID 6bc8a342745dd8fefbe229cc4626144b19786117
# Parent 5371763b15da496413c4e818fb87a92c5e66eb56
Create new load_uimage() & gunzip support to uboot loader in Qemu
This patch adds the ability fo
# HG changeset patch
# User Jerone Young <[EMAIL PROTECTED]>
# Date 1205937727 18000
# Branch merge
# Node ID 17ae5b5f4fbfc2ac365b747ffa864afef67220d7
# Parent c0a71393d66916148a96e3f2f91d29478fb5d063
Add ability to specify ram on command line for bamboo board model
This patch adds the ability to
Avi Kivity wrote:
> The fourth is probably impossible from userspace (and very difficult
> in the kernel).
What makes it impossible to do in userspace? If you managed a
tsc_offset in userspace, you would of course need to adjust that
tsc_offset within the kernel for the particular PCPU that
Dor Laor wrote:
> On Sun, 2008-03-16 at 19:08 +0200, Avi Kivity wrote:
>
>> Dor Laor wrote:
>>
>>> >From 498f162fc9d9fb897c756273c481101a44a220de Mon Sep 17 00:00:00 2001
>>> From: Dor Laor <[EMAIL PROTECTED]>
>>> Date: Thu, 13 Mar 2008 00:11:41 +0200
>>> Subject: [PATCH] Fix sci irq set wh
Anthony Liguori wrote:
> david ahern wrote:
>> Are you interested in collecting ports of the drivers for various
>> distributions?
>>
>
> What we would like to do, is have the kvm-guest-drivers-linux.git tree
> autogenerate backports for as far back as we need them. Posting what
> you needed
Anthony Liguori wrote:
> Avi Kivity wrote:
>
>> Trying to merge qemu-cvs, there's a conflict in vmwarevga between two
>> changes that appear to be identical in purpose, only implemented
>> differently: 6d262b07a2046ed1fa0ec3fd61f00efbfcd5a9ef (master) and
>> 5aa90452c52e3a914e1f6bbf34331507fd
břeťa wrote:
> Hi,
> I want to ask for a help in searching specific documetation.
> I am looking for any information about how to change the number of VCPU and
> amount of memory while the VM is running (or at least the magic keywords for
> google; I was successful in searching information abou
Christian Ehrhardt wrote:
> I added the kvm_stat support to ppc to watch my guest while executing
> e.g. to check things like "what does my guest do when I see nothing" ;-)
> To be able to do that I also needed a script that reports in a
> iostat/vmstat like style, because of that I wrote a small
Marcelo Tosatti wrote:
> init_rmode_tss was forgotten during the conversion from mmap_sem to
> slots_lock.
>
>
Applied, thanks.
> There are several sites reading the slots data without taking
> slots_lock, including tdp_page_fault. I'll be sending a patch
> to move acquision to vcp
Nathan W McSween wrote:
> Will KVM (QEMU) support sharing identical pages among guests?
>
we alreday have support for this
the module is named ksm, and it was posted in the list
the only problem is that you will need to compile the kernel and insert
some functions to it + mmu notifiers
>
> --
Will KVM (QEMU) support sharing identical pages among guests?
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
__
Новые коллекции постельного белья!
Заходите, смотрети, выбирайте и покупайте!
http://www.shopyou.ru/
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MR
Anthony Liguori wrote:
> Why don't we just introduce a vm-ioctl interface for a one-shot
> programmable timer? It could be programmed in userspace, and when it
> fires, we can drop down to userspace with a special exit code. We could
> then introduce an interrupt queuing mechanism in the kerne
Hi All,
This is today's KVM test result against kvm.git
f1080a0045631777a0a9c80533f833c76c5be4c8 and kvm-userspace.git
49cf2d2e8638b71b1f1a3d545bfb1dacb2648b16.
One new issue:
1. Booting four guests likely fails
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1919354&group_id=180
Bugs item #1919354, was opened at 2008-03-19 16:18
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1919354&group_id=180599
Please note that this message will contain a full copy
74 matches
Mail list logo