Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support kvm provider #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

miurahr
Copy link

@miurahr miurahr commented Jan 5, 2014

support KVM provider

I need to rename Libvirt as ProviderLibvirt to name congestion,
because ruby-libvirt has Libvirt namespace.

Signed-off-by: Hiroshi Miura miurahr@linux.com

@jedi4ever
Copy link
Owner

@miurahr we can't automerge, could you rebase?

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
@miurahr
Copy link
Author

miurahr commented Jan 6, 2014

rebased.

@jedi4ever
Copy link
Owner

thx @miurahr , if some-one else can confirm and test this.

@miurahr
Copy link
Author

miurahr commented Mar 13, 2014

Any progress?

@aspiers
Copy link

aspiers commented Oct 22, 2014

This PR doesn't make sense to me:

  1. There is no namespace conflict because ruby-libvirt uses ::Libvirt which is different from Sahara::Session::Libvirt.
  2. It adds lib/sahara/session/kvm.rb which does not contain KVM-specific code, only libvirt code.

What am I missing?

@aspiers
Copy link

aspiers commented Oct 28, 2014

  1. It adds lib/sahara/session/kvm.rb which does not contain KVM-specific code, only libvirt code.

What am I missing?

Oh I see, I was missing that this is adding support for vagrant-kvm, which just like vagrant-libvirt, uses libvirt as the backend. However my first question about the (lack of) namespace conflict still stands.

Also it doesn't seem good that this is mostly a copy'n'paste from lib/sahara/session/libvirt.rb - surely it could inherit from Sahara::Session::ProviderLibvirt and then override the necessary bits?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants