Any Idea?
Thanks and regards
Ashit
-----Original Message-----
From: xen-users-bounces@lists.xensource.com
[mailto:xen-users-bounces@lists.xensource.com] On Behalf Of
xen-users-request@lists.xensource.com
Sent: Thursday, March 22, 2007 5:23 PM
To: xen-users@lists.xensource.com
Subject: Xen-users Digest, Vol 25, Issue 142
Send Xen-users mailing list submissions to
xen-users@lists.xensource.com
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users
or, via email, send a message with subject or body ''help'' to
xen-users-request@lists.xensource.com
You can reach the person managing the list at
xen-users-owner@lists.xensource.com
When replying, please edit your Subject line so it is more specific than
"Re: Contents of Xen-users digest..."
Today''s Topics:
1. RE: Xen --> Guest (Security Initiative Team)
2. RE: Interface Order (Kris Doosje)
3. Re: Error booting an opensuse iso image (Fajar A. Nugraha)
4. RE: Adding interface for communication between HVM guest
and
xen VMM (Petersson, Mats)
5. Re: Interface Order (Wolfgang Hennerbichler)
6. xentop and top don''t agree (Chris Fanning)
7. DomU configuration file (Ashit Kumar)
----------------------------------------------------------------------
Message: 1
Date: Wed, 21 Mar 2007 09:17:21 -0700 (PDT)
From: Security Initiative Team <passrete@yahoo.com>
Subject: RE: [Xen-users] Xen --> Guest
To: "Petersson, Mats" <Mats.Petersson@amd.com>,
xen-devel@lists.xensource.com, xen-users@lists.xensource.com
Message-ID: <447790.96098.qm@web35308.mail.mud.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"
Yes, that''s what I figured.
But, I haven''t really been able to figure out how to actually implement
a new event channel.
I did create a new Virtual interrupt and registered it on the DomU side.
I was able to bind to it on the Xen side.
However, the
vcpu_info->evtchn_upcall_pending variable doesn''t seem to get set
correctly.
I have v->vcpu_info->evtchn_upcall_mask = 0.
Plus, I''m not quite sure how to do the polling on the DomU side.
If you have a good idea as to how to implement it, please do let me
know.
"Petersson, Mats" <Mats.Petersson@amd.com> wrote:
> -----Original Message-----
> From: Security Initiative Team [mailto:passrete@yahoo.com]
> Sent: 21 March 2007 15:55
> To: Petersson, Mats; xen-devel@lists.xensource.com;
> xen-users@lists.xensource.com
> Subject: RE: [Xen-users] Xen --> Guest
>
> I have some monitoring capabilities set up in Xen and when that is
> triggered, I want to notify the DomU to take some action.
>
> Example: If a certain part of memory is touched, Xen sees that and
> wants to inform the DomU of this.
>
> So, all I need is to set a bit somewhere that can be constantly polled
> by the DomU (waiting for it to flip)
And isn''t this EXACTLY what the event-channel does?
--
Mats>
> Thanks,
> -Brian
>
> "Petersson, Mats" wrote:
>
>
>
> > -----Original Message-----
> > From: xen-users-bounces@lists.xensource.com
> > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of >
> Security Initiative Team > Sent: 21 March 2007 01:03 > To:
> xen-devel@lists.xensource.com; xen-users@lists.xensource.com >
> Subject: [Xen-users] Xen --> Guest > > What''s the
easiest way to
> send 1-bit of information from > Xen to a guest domain?
>
> What do you want this 1-bit of information to achieve at the other
> end...
>
> Without actually knowing what you''re trying to achieve,
it''s kind of
> hard to answer the question.
>
> --
> Mats
> >
> > The event channel mechanism seems fairly complicated.
> >
> > Thanks,
> > -Brian
> >
> >
> > ________________________________
> >
> > It''s here! Your new message!
> > Get new email alerts
> > om/toolbar/features/mail/> with the free Yahoo! Toolbar. >
> om/toolbar/features/mail/> >
>
>
>
>
>
> ________________________________
>
> No need to miss a message. Get email on-the-go
>
> with Yahoo! Mail for Mobile. Get started.
>
>
---------------------------------
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.xensource.com/archives/html/xen-users/attachments/20070321/
95764ada/attachment.htm
------------------------------
Message: 2
Date: Thu, 22 Mar 2007 09:32:10 +0100
From: "Kris Doosje" <k.doosje@nido.nl>
Subject: RE: [Xen-users] Interface Order
To: wogri <wogri@wogri.com>, xen-users
<xen-users@lists.xensource.com>
Message-ID: <H0000080003072e2.1174552329.scalixserver.nido.nl@MHS>
Content-Type: text/plain; charset="US-ASCII"
I have the following in my config:
vif = [ ''mac=00:16:3e:00:00:00, bridge=xenbr0'',
''mac=00:16:3e:00:00:01, bridge=xenbr1'' ]
I have no IP-config in the xen-config file, I do that in the guest
itself.
In xend-config.sxp I have: (network-script network-custom-bridge)
And my network-custom-bridge script looks like this:
#!/bin/bash
dir=$(dirname "$0")
"$dir/network-bridge" "$@" vifnum=0 netdev=eth0
bridge=xenbr0
"$dir/network-bridge" "$@" vifnum=1 netdev=eth1
bridge=xenbr1
This works fine for me.
Good luck,
Kris
-----Oorspronkelijk bericht-----
Van: Wolfgang Hennerbichler [mailto:wogri@wogri.com]
Verzonden: donderdag 22 maart 2007 9:19
Aan: xen-users@lists.xensource.com
Onderwerp: [Xen-users] Interface Order
Hi Xen folks,
I have a question where I couldn''t find the answer on google or in the
archives...
I have a statically compiled xenU kernel, and I want a XEN guest with
2 network interfaces. My config looks like this:
name = "myname"
kernel = "/boot/vmlinuz-2.6-xenU"
memory = 256
vif = [ ''bridge=br701'', ''bridge=br9'' ]
disk = [
''phy:vg0/myname,hda1,w'',''phy:vg0/myname_swap,hda2,w''
]
ip="1.2.3.4"
netmask="255.255.255.0"
root = "/dev/hda1 ro"
extra = "2"
Unfortunately the interface order in the (Linux)-Guest seems to be
random. This means after booting the guest the IP 1.2.3.4 is assigned to
either br701 or br9, but it''s always random (both interfaces work in
the
guest though). If I define mac-addressses for the interfaces there is no
difference. Can I somehow "lock" those interfaces? I don''t
know how. I''d
appreciate your help!
wogri
--
wogri@wogri.com
http://www.wogri.com
http://www.einradfilm.at
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
------------------------------
Message: 3
Date: Thu, 22 Mar 2007 16:44:04 +0700
From: "Fajar A. Nugraha" <fajar@telkom.net.id>
Subject: Re: [Xen-users] Error booting an opensuse iso image
To: xen-users@lists.xensource.com
Message-ID: <46024FE4.4040003@telkom.net.id>
Content-Type: text/plain; charset=ISO-8859-1
Pompon2 wrote:> Hi list,
>
> I try to install opensuse 10.2 in a VM over Xen 3.0.4. My method is to
> declare a cdrom disk as hdb pointing to an iso image and boot the VM
> which launch the cdrom programm.
> However, with opensuse, the VM freeze just after having boot on the
> virtual cdrom. Last message is :
>
> ISOLINUX 3.31 0x45688c0e Copyright (C) 1994-2005 H. Peter Anvin
> Loading...
>
> Then the virtual CPU goes to 100% use. and nothing more.
>
I believe this has been covered several times on this list. Short
answer, you can''t. Not if you use Intel.
Long answer, you need a boot method that doesn''t display menu or
graphics during kernel selection. I did it by creating a bootable USB
disk with syslinux and putting install kernel and initrd there. You can
then tell it to look for installation media from CD.
There are other ways to install OpenSuse though. You could clone your
existing system with dd. It should work.
Or you could install with with QEMU (that way you''d be using
QEMU''s CPU
emulation, not Intel''s VT), and use the resulting disk image in Xen
later.
Regards,
Fajar
------------------------------
Message: 4
Date: Thu, 22 Mar 2007 10:46:55 +0100
From: "Petersson, Mats" <Mats.Petersson@amd.com>
Subject: RE: [Xen-users] Adding interface for communication between
HVM guest and xen VMM
To: "Praveen Kushwaha" <praveen.kushwaha@nechclst.in>,
xen-users@lists.xensource.com, xen-devel@lists.xensource.com
Message-ID:
<907625E08839C4409CE5768403633E0B018E1AFF@sefsexmb1.amd.com>
Content-Type: text/plain; charset=us-ascii
> -----Original Message-----
> From: xen-users-bounces@lists.xensource.com
> [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of
> Praveen Kushwaha
> Sent: 21 March 2007 09:48
> To: xen-users@lists.xensource.com; xen-devel@lists.xensource.com
> Subject: [Xen-users] Adding interface for communication
> between HVM guest and xen VMM
>
> Hi,
>
> I have a question regarding communication between
> HVM guest and xen VMM. As per my knowledge the communication
> between HVM Guest OS (windows) and VMM is done through
> ''VMExit'' and ''VMEntry'' operations and
context is stored in
> VMCS. Since there are no interfaces for communication in full
> virtualization as there are interfaces (i.e.hypercalls) in
> case of para virtualization. So my question is that, In case
> of full virtualization, is it possible to add interfaces that
> will be serving as a communication medium between HVM guest and VMM?
>
> Also is there any other mechanism through which HVM guest and
> VMM can communicate?
Yes, there are several ways to do this. The following are to some extent
used in Xen:
1. Both Intel and AMD support a VM[M]CALL instruction, which allows the
Guest to call into the hypervisor. Arguemnts to this instruction can be
placed on the stack or in register(s) or a combination of those two.
This is implemented in Xen for the purpose of supporting Para-virtual
drivers in Xen.
2. Page-fault on a given "special" address (range). I.e. if the guest
writes (or reads) some special address, it causes a fault into the
hypervisor which is then checking for the special address. This is used
for hardware emulation of memory mapped IO devices for example.
3. CPUID instruction using a "index" that isn''t implemented
for
hardware. I believe Xen uses CPUID 0x40000000 + x, where x is a small
integer. This can be used to transfer information from the hypervisor,
whereas on real hardware it''s a "no-op" (it doesn''t
trap or fault if you
give it an unused index, it just sets the output registers to zeros
(although this particular behavious isn''t strictly documented,
it''s
empirically found to be the case for both AMD and Intel CPU''s for all
models that support CPUID instruction).
[And a note on your terminology: VMCS is the Intel form - AMD uses
something called VMCB. Both serve the same purpose, and they are pretty
similar in structure. There is a slight difference in that VMCS can only
be accessed [legally] through a special set of VMWRITE/VMREAD
instructions, whilst the VMCB can be accesses through any regular memory
operation]
--
Mats >
> If anyone have knowledge regarding it please reply.
>
>
>
> Thanks,
>
> Praveen Kushwaha
>
>
>
>
------------------------------
Message: 5
Date: Thu, 22 Mar 2007 10:55:29 +0100
From: Wolfgang Hennerbichler <wogri@wogri.com>
Subject: Re: [Xen-users] Interface Order
To: Kris Doosje <k.doosje@nido.nl>
Cc: xen-users <xen-users@lists.xensource.com>
Message-ID: <282E0B99-300A-4A0E-B215-5A570DDE99F3@wogri.com>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
On 22.03.2007, at 09:32, Kris Doosje wrote:> I have no IP-config in the xen-config file, I do that in the guest
> itself.
Other than that, do you have any special configuration in your guest?
wogri
--
www.vix.at // www.aco.net // www.sth.ac.at
wh@univie.ac.at // WH844-RIPE
Vienna University Computer Center
Tel: +43 1 4277-14031 // Fax: -9140
------------------------------
Message: 6
Date: Thu, 22 Mar 2007 11:39:42 +0100
From: "Chris Fanning" <christopher.fanning@gmail.com>
Subject: [Xen-users] xentop and top don''t agree
To: xen-users@lists.xensource.com
Message-ID:
<215ff4410703220339x6eb8115dp2d886d0be85d892a@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi,
I''m at a loss.
After starting xend (no domU''s), xentop says cpu(%) usage at 87% and
it sits there.
However, ''top'' on dom0 is 0% (or there abouts).
What might be causing this usage?
I''m using xen-3.0.4-1
Thanks for any help.
Chris.
------------------------------
Message: 7
Date: Thu, 22 Mar 2007 17:23:02 +0530
From: "Ashit Kumar" <Ashit_Kumar@symantec.com>
Subject: [Xen-users] DomU configuration file
To: <xen-users@lists.xensource.com>
Message-ID:
<BA9C9E8D6DE58F43B85F33C5FC1E1F26016B7B2D@PUNAXCHEMBPIN01.enterprise.ver
itas.com>
Content-Type: text/plain; charset="us-ascii"
Hi,
I know this may be very basic question but I need some help . Actually I
installed VM using the Xen Administrative console.
Now I need to change the configuration file as I need to passthrough
(using the pci-hide) a SCSI contoller from Dom0 to DomU.
But I couldnot find the configuration file.
Where can I find the Configuration file for this DomU?
Actually I added the pciback.hide=<Bus:dev:op> in the grub.conf of
Backend and now I want to add this pass-through in the Configuration
file of DomU.
Any Help????
Thanks and regards
Ashit
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.xensource.com/archives/html/xen-users/attachments/20070322/
8c3dc7eb/attachment.html
------------------------------
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
End of Xen-users Digest, Vol 25, Issue 142
******************************************
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users