Melt butter in a small saucepan over medium-high heat. Add shallots and garlic; sauté 1 minute. Stir in rice; sauté 1 minute. Stir in broth and wine; bring to a boil. Cover, reduce heat, and simmer 15 minutes.
Remove from heat; stir in cheese, parsley, pepper, and salt.