public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* bridge mode without network rework
@ 2014-12-08  2:36 Thomas Lau
  2014-12-09 10:55 ` Stefan Hajnoczi
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas Lau @ 2014-12-08  2:36 UTC (permalink / raw)
  To: kvm

Hi All,

I just wondering is it possible not to rework our host machine network
structure to get KVM guest working on bridge mode? Current
implementation is using brctl to control it, which is destructive
especially you have a host which is using that network card to connect
internet.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: bridge mode without network rework
  2014-12-08  2:36 Thomas Lau
@ 2014-12-09 10:55 ` Stefan Hajnoczi
  2014-12-09 11:21   ` tlau
  0 siblings, 1 reply; 8+ messages in thread
From: Stefan Hajnoczi @ 2014-12-09 10:55 UTC (permalink / raw)
  To: Thomas Lau; +Cc: kvm

[-- Attachment #1: Type: text/plain, Size: 789 bytes --]

On Mon, Dec 08, 2014 at 10:36:12AM +0800, Thomas Lau wrote:
> I just wondering is it possible not to rework our host machine network
> structure to get KVM guest working on bridge mode? Current
> implementation is using brctl to control it, which is destructive
> especially you have a host which is using that network card to connect
> internet.

Are you deploying KVM and worried about the one-time downtime that might
be introduced by setting up a bridged setup on the host?

Once you have the bridge working you can add/remove tap interfaces from
it without affecting the host's physical interface.

I'm not sure I understand the problem.

Perhaps macvtap is what you want:
http://virt.kernelnewbies.org/MacVTap
http://wiki.math.cmu.edu/iki/wiki/tips/20140303-kvm-macvtap.html

Stefan

[-- Attachment #2: Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: bridge mode without network rework
  2014-12-09 10:55 ` Stefan Hajnoczi
@ 2014-12-09 11:21   ` tlau
  2014-12-19 10:56     ` Stefan Hajnoczi
  0 siblings, 1 reply; 8+ messages in thread
From: tlau @ 2014-12-09 11:21 UTC (permalink / raw)
  To: Stefan Hajnoczi; +Cc: kvm

Yes macvtap should be a solution, but somehow libvirt can't turn on VM itself afterwards. Any idea?

Sent from my BlackBerry 10 smartphone.

Thomas Lau
Director of Infrastructure
Tetrion Capital Limited
 
Direct: +852-3976-8903
Mobile: +852-9323-9670
Address: 20/F, IFC 1, Central district, Hong Kong
  Original Message  
From: Stefan Hajnoczi
Sent: Tuesday, 9 December, 2014 6:55 PM
To: Thomas Lau
Cc: kvm
Subject: Re: bridge mode without network rework

On Mon, Dec 08, 2014 at 10:36:12AM +0800, Thomas Lau wrote:
> I just wondering is it possible not to rework our host machine network
> structure to get KVM guest working on bridge mode? Current
> implementation is using brctl to control it, which is destructive
> especially you have a host which is using that network card to connect
> internet.

Are you deploying KVM and worried about the one-time downtime that might
be introduced by setting up a bridged setup on the host?

Once you have the bridge working you can add/remove tap interfaces from
it without affecting the host's physical interface.

I'm not sure I understand the problem.

Perhaps macvtap is what you want:
http://virt.kernelnewbies.org/MacVTap
http://wiki.math.cmu.edu/iki/wiki/tips/20140303-kvm-macvtap.html

Stefan

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: bridge mode without network rework
  2014-12-09 11:21   ` tlau
@ 2014-12-19 10:56     ` Stefan Hajnoczi
  2014-12-19 10:59       ` tlau
  0 siblings, 1 reply; 8+ messages in thread
From: Stefan Hajnoczi @ 2014-12-19 10:56 UTC (permalink / raw)
  To: tlau; +Cc: kvm

[-- Attachment #1: Type: text/plain, Size: 245 bytes --]

On Tue, Dec 09, 2014 at 07:21:40PM +0800, tlau@tetrioncapital.com wrote:
> Yes macvtap should be a solution, but somehow libvirt can't turn on VM itself afterwards. Any idea?

No, that sounds like a bug because libvirt supports macvtap.

Stefan

[-- Attachment #2: Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: bridge mode without network rework
  2014-12-19 10:56     ` Stefan Hajnoczi
@ 2014-12-19 10:59       ` tlau
  2014-12-19 18:07         ` Paolo Bonzini
  0 siblings, 1 reply; 8+ messages in thread
From: tlau @ 2014-12-19 10:59 UTC (permalink / raw)
  To: Stefan Hajnoczi; +Cc: kvm

Since we decided not to go with KVM due to stability issue, we could let this go, thanks. 

Sent from my BlackBerry 10 smartphone.

Thomas Lau
Director of Infrastructure
Tetrion Capital Limited
 
Direct: +852-3976-8903
Mobile: +852-9323-9670
Address: 20/F, IFC 1, Central district, Hong Kong
  Original Message  
From: Stefan Hajnoczi
Sent: Friday, 19 December, 2014 6:56 PM
To: tlau@tetrioncapital.com
Cc: kvm
Subject: Re: bridge mode without network rework

On Tue, Dec 09, 2014 at 07:21:40PM +0800, tlau@tetrioncapital.com wrote:
> Yes macvtap should be a solution, but somehow libvirt can't turn on VM itself afterwards. Any idea?

No, that sounds like a bug because libvirt supports macvtap.

Stefan

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: bridge mode without network rework
  2014-12-19 10:59       ` tlau
@ 2014-12-19 18:07         ` Paolo Bonzini
  0 siblings, 0 replies; 8+ messages in thread
From: Paolo Bonzini @ 2014-12-19 18:07 UTC (permalink / raw)
  To: tlau, Stefan Hajnoczi; +Cc: kvm



On 19/12/2014 11:59, tlau@tetrioncapital.com wrote:
> Since we decided not to go with KVM due to stability issue, we could let this go, thanks. 

That's a pity.  That said, your decision to not go with KVM due to
stability is a bit strange:

1) unless you are using open source Xen, you are presumably going for a
commercial solution that would cost you money anyway.  Have you thought
of asking for commercial support, either from Canonical (since you were
using Ubuntu) or from anyone else?

2) I saw now that you were using 3.13.  I'm sorry for not having noticed
that early, but have you tried upgrading the kernel?  There is a known
bug with Ivy Bridge EP and hv_vapic, but it's fixed on newer kernels
(3.16).  If you are not going to pay anyone for support, you probably
should have thought about this yourself.  If you hadn't thought about
it, and you are going for an open source solution (which I hope), you
probably should re-evaluate the plan of not paying anyone for support,
either a company or someone with enough expertise.

Paolo

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: bridge mode without network rework
@ 2014-12-24  1:02 Zhang Haoyu
  2014-12-24  8:21 ` Paolo Bonzini
  0 siblings, 1 reply; 8+ messages in thread
From: Zhang Haoyu @ 2014-12-24  1:02 UTC (permalink / raw)
  To: Paolo Bonzini, stefanha; +Cc: kvm-devel


On 2014-12-20 02:07:27, Paolo Bonzini wrote:
> 
> On 19/12/2014 11:59, tlau@tetrioncapital.com wrote:
> > Since we decided not to go with KVM due to stability issue, we could let this go, thanks. 
> 
> That's a pity.  That said, your decision to not go with KVM due to
> stability is a bit strange:
> 
> 1) unless you are using open source Xen, you are presumably going for a
> commercial solution that would cost you money anyway.  Have you thought
> of asking for commercial support, either from Canonical (since you were
> using Ubuntu) or from anyone else?
> 
> 2) I saw now that you were using 3.13.  I'm sorry for not having noticed
> that early, but have you tried upgrading the kernel?  There is a known
> bug with Ivy Bridge EP and hv_vapic, but it's fixed on newer kernels
> (3.16).  If you are not going to pay anyone for support, you probably
Hi, Paolo,
do you mean the commit fc57ac2 KVM: lapic: sync highest ISR to hardware apic on EOI ?
I want to backport it to our product.

Thanks,
Zhang Haoyu

> should have thought about this yourself.  If you hadn't thought about
> it, and you are going for an open source solution (which I hope), you
> probably should re-evaluate the plan of not paying anyone for support,
> either a company or someone with enough expertise.
> 
> Paolo

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: bridge mode without network rework
  2014-12-24  1:02 bridge mode without network rework Zhang Haoyu
@ 2014-12-24  8:21 ` Paolo Bonzini
  0 siblings, 0 replies; 8+ messages in thread
From: Paolo Bonzini @ 2014-12-24  8:21 UTC (permalink / raw)
  To: Zhang Haoyu, stefanha; +Cc: kvm-devel



On 24/12/2014 02:02, Zhang Haoyu wrote:
> Hi, Paolo,
> do you mean the commit fc57ac2 KVM: lapic: sync highest ISR to hardware apic on EOI ?
> I want to backport it to our product.

Yes.

Paolo

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-12-24  8:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-24  1:02 bridge mode without network rework Zhang Haoyu
2014-12-24  8:21 ` Paolo Bonzini
  -- strict thread matches above, loose matches on Subject: below --
2014-12-08  2:36 Thomas Lau
2014-12-09 10:55 ` Stefan Hajnoczi
2014-12-09 11:21   ` tlau
2014-12-19 10:56     ` Stefan Hajnoczi
2014-12-19 10:59       ` tlau
2014-12-19 18:07         ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox